Skip to content

Commit

Permalink
even a smaller docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Oct 18, 2019
1 parent 49c3752 commit 0ba3b65
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
.ci
.dockerignore
.editorconfig
.git
.idea
.gitignore
.gitmodules
.vscode
Dockerfile
.idea
client
docker-compose*.yml
Dockerfile
Makefile
package-lock.json
README.md
tests
bats
target
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN npm install

RUN npm install pm2 -g

COPY --from=opbeans/opbeans-frontend:latest /app/ /app/client/
COPY --from=opbeans/opbeans-frontend:latest /app/build /app/client/build
COPY --from=opbeans/opbeans-frontend:latest /app/package.json /app/client/package.json

CMD ["pm2-runtime", "ecosystem.config.js"]

0 comments on commit 0ba3b65

Please sign in to comment.