Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLASweb
Commits
c6d2f0ca
Commit
c6d2f0ca
authored
May 16, 2019
by
Steffen Vogel
🎅🏼
Browse files
use symlink for Dockerfile
parent
852decd6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
deleted
100644 → 0
View file @
852decd6
FROM
node:8.2
# Create app directory
RUN
mkdir
-p
/usr/src/app
WORKDIR
/usr/src/app
RUN
apt
install
-y
git
# use changes to package.json to force Docker not to use the cache
# when we change our application's nodejs dependencies:
ADD
package.json /usr/src/app
RUN
npm
install
# Install app dependencies
COPY
. /usr/src/app
RUN
npm run build
# Run the app in a local webserver
RUN
npm
install
-g
serve
EXPOSE
5000
CMD
[ "serve", "-s", "build" ]
Dockerfile
0 → 120000
View file @
c6d2f0ca
packaging/docker/Dockerfile
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment