This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM node:lts
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN yarn global add http-server && \
|
||||
npm install pm2 -g && \
|
||||
yarn && \
|
||||
yarn build:prod
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
# CMD ["http-server","/src/dist","-p","80"]
|
||||
|
||||
CMD ["bash","http.sh"]
|
Reference in New Issue
Block a user