Added product admin features

This commit is contained in:
Niklas Fondberg
2021-07-26 10:35:52 +02:00
committed by GitHub
parent 32adee1bf4
commit d17df41d86
38 changed files with 1613 additions and 381 deletions
+12
View File
@@ -0,0 +1,12 @@
# Uses the node base image with the latest LTS version
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"]