This repository has been archived on 2025-09-22. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2025SELab2-project-Dwengo/backend.Dockerfile
Timo De Meyst 38ec0c75ca chore: update backend dockerfile
compiler config deftig gekopiëerd
2025-03-10 00:07:25 +01:00

18 lines
No EOL
211 B
Docker

FROM node:22
WORKDIR /app
COPY ./backend/package*.json ./
RUN npm install
COPY ./backend ./backend
COPY ./tsconfig.json /app
WORKDIR /app/backend
RUN npm run build
EXPOSE 2002
CMD ["npm", "run", "start"]