You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
205 B
13 lines
205 B
4 years ago
|
# getting base image ubuntu
|
||
|
FROM alpine:latest
|
||
|
|
||
|
RUN apk add --no-cache nodejs npm
|
||
|
|
||
|
COPY . /usr/src/app
|
||
|
|
||
|
WORKDIR /usr/src/app
|
||
|
RUN npm install pm2 -g
|
||
|
|
||
|
EXPOSE 3000
|
||
|
|
||
|
CMD ["pm2-runtime", "ecosystem.config.js"]
|