You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
FROM node:lts-stretch
|
|
|
|
WORKDIR /src
|
|
|
|
COPY . .
|
|
|
|
RUN cp example.env .env && \
|
|
rm package-lock.json && \
|
|
rm yarn.lock && \
|
|
npm install && \
|
|
npm install pm2 typescript -g && \
|
|
node ./build
|
|
|
|
VOLUME ["/src"]
|
|
|
|
EXPOSE 80-60000
|
|
|
|
CMD ["./pm2.sh"] |