This commit is contained in:
Nukeap committed 2025-02-11 08:18:12 +03:00
1 parent d4bb3f300e
commit ff9cce42da
3 files changed
+8 -10

No files matched your search

+3 -3
View File
@@ -1,10 +1,10 @@
# Используем официальный образ Node.js на базе Alpine
FROM node:alpine
RUN useradd -ms /bin/sh -u 1001 app
USER app
# RUN useradd -ms /bin/sh -u 1001 app
# RUN apt-get update && apt-get install -y git
# RUN adduser -D -u 1001 app
RUN adduser -D -u 1001 app
USER app
# Устанавливаем рабочую директорию
WORKDIR /app