Skip to content

Commit

Permalink
dockerfile and .dockerignore cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCreator committed Jan 10, 2020
1 parent 612bce7 commit 21508d2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
19 changes: 19 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Hidden files ignore
#
.*

#
# Remove uneeded files from docker context
#
/api/node_modules
/ui/node_modules
/ui/dist
/cli/**
/deploy/**

#
# Config files to ignore
#
/ui/config/apiconfig.js
/api/config/mailgunConfig.js
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ ui/config/apiconfig.js

# Whitelist anchor files & .gitignore
!.gitignore
!.dockerignore
!.travis.yml
!**/.anchor
6 changes: 0 additions & 6 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,6 @@ ENV MAILGUN_EMAIL_DOMAIN=""
ENV MAILGUN_API_KEY=""
ENV WEBSITE_DOMAIN=""

# #
# # Preload the NPM installs
# #
# RUN cd /application/ui && ls && npm install
# RUN cd /application/api && ls && npm install

# Setup the workdir
WORKDIR "/application/"

Expand Down

0 comments on commit 21508d2

Please sign in to comment.