fix: track Dockerfile and .dockerignore in easySite

.gitignore was ignoring these files, causing them to be missing
on fresh checkout (e.g. after git pull on server), which broke
the Docker build. Removed the ignore entries so the files are
tracked by git.
This commit is contained in:
valitovgaziz
2026-06-12 11:19:33 +05:00
parent 2941b14b38
commit eee067f0ca
3 changed files with 30 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
# .dockerignore
node_modules
.nuxt
.output
.git
*.log
.env
.DS_Store
-2
View File
@@ -6,5 +6,3 @@ node_modules
*.log *.log
.env .env
.DS_Store .DS_Store
Dockerfile
.dockerignore
+21
View File
@@ -0,0 +1,21 @@
FROM node:24.11.0-alpine
WORKDIR /app
COPY package*.json ./
COPY nuxt.config.ts ./
COPY tsconfig.json ./
# Увеличиваем память
ENV NODE_OPTIONS="--max-old-space-size=4096"
RUN npm install --production
COPY . .
# Собираем без таймаута
RUN npm run build
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]