Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
interfect
funkwhale
Commits
168b2f03
Verified
Commit
168b2f03
authored
Apr 16, 2018
by
Eliot Berriot
Browse files
Slightly smarter docker front setup
parent
7c9412f6
Changes
3
Hide whitespace changes
Inline
Side-by-side
dev.yml
View file @
168b2f03
...
...
@@ -13,6 +13,7 @@ services:
-
"
${WEBPACK_DEVSERVER_PORT_BINDING-8080:}${WEBPACK_DEVSERVER_PORT-8080}"
volumes
:
-
'
./front:/app'
-
'
/app/node_modules'
-
'
./po:/po'
networks
:
-
federation
...
...
front/.dockerignore
0 → 100644
View file @
168b2f03
node_modules
front/Dockerfile
View file @
168b2f03
...
...
@@ -4,7 +4,7 @@ EXPOSE 8080
WORKDIR
/app/
ADD
package.json .
RUN
yarn
install
VOLUME
["/app/node_modules"]
COPY
. .
CMD
["npm", "run", "dev"]
Write
Preview
Markdown
is supported
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