Skip to content

Commit

Permalink
Remove pm2 for now, issues on jelastic
Browse files Browse the repository at this point in the history
  • Loading branch information
ajluker committed Aug 7, 2024
1 parent 5536877 commit 9bf5b72
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ FROM node:18-alpine

ARG SHOPIFY_API_KEY
ENV SHOPIFY_API_KEY=$SHOPIFY_API_KEY
ENV NODE_ENV=production

EXPOSE 8081
WORKDIR /app
COPY web .
RUN yarn
RUN cd frontend && yarn && yarn run build
RUN yarn global add pm2
CMD ["pm2-runtime", "node index.js", "--error", "~/producer.log", "--output", "~/producer.log"]
CMD ["yarn", "run", "serve"]

0 comments on commit 9bf5b72

Please sign in to comment.