chore: update backend dockerfile

compiler config deftig gekopiëerd
This commit is contained in:
Timo De Meyst 2025-03-10 00:07:25 +01:00
parent f6859b6748
commit 38ec0c75ca
3 changed files with 11 additions and 2 deletions

View file

@ -7,9 +7,12 @@ 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", "start"]
CMD ["npm", "run", "start"]