Move client and server dockerfile to special path

This commit is contained in:
2026-01-03 19:54:48 +03:00
parent 8b0fa219aa
commit 75df8970fd
3 changed files with 2 additions and 2 deletions

4
docker/Dockerfile.client Normal file
View File

@@ -0,0 +1,4 @@
FROM nginx:1.27-alpine
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY public /usr/share/nginx/html

13
docker/Dockerfile.server Normal file
View File

@@ -0,0 +1,13 @@
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY server ./server
ENV NODE_ENV=production
EXPOSE 3000
CMD ["npm", "start"]