Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueHorn07 committed Oct 27, 2023
1 parent e980045 commit 9d7b2ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
FROM node:18.18-alpine

# popo version
ARG POPO_VERSION
ENV POPO_VERSION ${POPO_VERSION}

WORKDIR /usr/src/app

COPY package*.json ./
Expand All @@ -14,6 +10,10 @@ COPY . .

RUN npm run build

# popo version
ARG POPO_VERSION
ENV POPO_VERSION ${POPO_VERSION}

EXPOSE 4000

CMD ["npm", "run", "start:prod"]

0 comments on commit 9d7b2ca

Please sign in to comment.