Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit b0b2d67

Browse files
pimp dockerfile
1 parent 03f80e2 commit b0b2d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ LABEL Description="This image is used to start the hc-api-feathers" Vendor="Huma
44
# update unix packages
55
RUN apk update && apk upgrade
66
RUN rm -rf /var/cache/apk/*
7+
RUN yarn global add pm2
78

89
# expose the app port
910
EXPOSE 3030
@@ -14,7 +15,6 @@ EXPOSE 3030
1415
ENV NODE_ENV=production
1516
ENV API_PORT=3030
1617

17-
RUN yarn global add pm2
1818
# start the application in a autohealing cluster
1919
#CMD NODE_ENV=production pm2 start server/index.js -n api -i 0 --attach
2020
# as we have issues with pm2 currently in conjunction with nuxt, we use the standard approach here

0 commit comments

Comments
 (0)