put id in path

This commit is contained in:
DESKTOP-0P848CA\edinl_6z7c6t
2021-11-20 09:01:07 +08:00
parent 78c06f8fc4
commit 6de9845556
18 changed files with 4879 additions and 1201 deletions
+7 -4
View File
@@ -1,13 +1,16 @@
FROM node:10.1.0-alpine
FROM node:16.11.1-alpine
WORKDIR /app
COPY package.json /app/
COPY yarn.lock /app/
COPY package-lock.json /app/
RUN yarn install --production && yarn cache clean
RUN npm install
COPY . /app
ENV NODE_ENV production
ENTRYPOINT ["node", "-r", "esm", "./bin/server"]
EXPOSE 8080
CMD npm start