FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
reaction/Dockerfile-devserver at master · kale-code/reaction · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
kale-code
/
reaction
Public
forked from
reactioncommerce/reaction
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
reaction
/
Dockerfile-devserver
Copy path
More file actions
More file actions
Latest commit
History
History
History
25 lines (16 loc) · 698 Bytes
Breadcrumbs
reaction
/
Dockerfile-devserver
Copy path
File metadata and controls
25 lines (16 loc) · 698 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Builds a GraphQL development server without Meteor runtime dependencies.
FROM node:8.11.3
LABEL maintainer="Reaction Commerce <architecture@reactioncommerce.com>"
RUN mkdir app
WORKDIR /app
COPY --chown=node package.json .
COPY --chown=node package-lock.json .
# Because Docker Compose uses a named volume for node_modules and named volumes are owned
# by root by default, we have to initially create node_modules here with correct owner.
# Without this NPM cannot write packages into node_modules later, when running in a container.
RUN mkdir /app/node_modules && chown node /app/node_modules
RUN npm -v
RUN npm install
COPY --chown=node . .
EXPOSE 3030
CMD ["npm", "run", "devserver"]
Back
|
FazBrowse Home
|
New Git URL