chore: update backend dockerfile
compiler config deftig gekopiëerd
This commit is contained in:
parent
f6859b6748
commit
38ec0c75ca
3 changed files with 11 additions and 2 deletions
|
@ -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"]
|
Loading…
Add table
Add a link
Reference in a new issue