Added Dockerfile

This commit is contained in:
2022-10-31 02:05:05 +03:00
parent a7d519ccb9
commit 091d6c8d46
4 changed files with 19 additions and 3 deletions

11
backend/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:16-alpine
WORKDIR /app
# Copy and download dependencies
COPY package.json package-lock.json ./
RUN npm install
# Copy the source files into the image
COPY . .
EXPOSE 3000
CMD npm start