This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM node:lts-stretch
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN cp ormconfig.example.json ormconfig.json && \
|
||||
cp example.env .env && \
|
||||
yarn && \
|
||||
npm install pm2 -g
|
||||
|
||||
EXPOSE 80-60000
|
||||
|
||||
VOLUME ['/src']
|
||||
|
||||
CMD ["./pm2.sh"]
|
Reference in New Issue
Block a user