feat(docker): basic docker config for back and front with minor linter fixes
This commit is contained in:
15
back/Dockerfile
Normal file
15
back/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM node:21-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "run", "serve"]
|
||||
Reference in New Issue
Block a user