feat(docker): basic docker config for back and front with minor linter fixes

This commit is contained in:
2024-10-30 13:26:24 +01:00
parent 15fb5a3163
commit 024d06515e
6 changed files with 47 additions and 5 deletions

16
front/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:21-slim
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3016
# Start the NestJS application
CMD ["npm", "run", "start"]