P5-7626 - Development fixes and clarifications

This commit is contained in:
Anders Gustafsson
2021-08-12 10:51:57 +02:00
parent d17df41d86
commit 38cfa4d05a
4 changed files with 16 additions and 11 deletions
-3
View File
@@ -3,10 +3,7 @@ FROM node:14.17.0
# Informs Docker that the container listens on the
# specified network ports at runtime
EXPOSE 4000
COPY . app/
# Changes working directory to the new directory just created
WORKDIR /app
# Installs npm dependencies on container
RUN npm ci
# Command container will actually run when called
CMD ["npx", "nodemon", "-w", "src", "--ext", "ts", "--exec", "ts-node", "src/index.ts"]