Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed May 13, 2023
1 parent 3b8fba5 commit ce1e8a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ ENV NODE_ENV=production
ENV NODE_PATH=/usr/local/lib/node_modules
ARG version=latest
RUN npm install -g cors-anywhere@$version
RUN npm i -g serve

COPY server.js .
CMD ["node", "server.js"]
CMD ["npx", "serve", "-p", "80"]

EXPOSE 80

0 comments on commit ce1e8a3

Please sign in to comment.