chore [P-01]: Докер

This commit is contained in:
Nukeap committed 2025-02-24 14:45:29 +03:00
1 parent bc6668c54c
commit 7510e689d0
3 files changed
+12 -12

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
# Используем официальный образ Node.js на базе Alpine
FROM node:lts-alpine
RUN apk add --no-cache git python3 py3-pip
RUN apk add --no-cache git python3 py3-pip
ARG PROJECT_DIR
@@ -22,7 +22,7 @@ COPY ${PROJECT_DIR}/src/back/r.txt ./src/
COPY ${PROJECT_DIR}/.git ./.git
# COPY . .
# RUN chmod -R 777 ${PROJECT_DIR}/src/
RUN pip3 install --break-system-packages pylint black pylint-django -r ./src/r.txt
RUN pip3 install --break-system-packages pylint black pylint-django
# Указываем команду для запуска lint-staged