Merge pull request #398 from mirumee/feature/dockerfile-dev
Add dockerfile for development purposes
This commit is contained in:
commit
7790fef846
1 changed files with 15 additions and 0 deletions
15
Dockerfile.dev
Normal file
15
Dockerfile.dev
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM node:10
|
||||
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
ARG APP_MOUNT_URI
|
||||
ARG API_URI
|
||||
ARG STATIC_URL
|
||||
ENV API_URI ${API_URI:-http://localhost:8000/graphql/}
|
||||
ENV APP_MOUNT_URI ${APP_MOUNT_URI:-/dashboard/}
|
||||
ENV STATIC_URL ${STATIC_URL:-/dashboard/}
|
||||
|
||||
EXPOSE 9000
|
||||
CMD npm start -- --host 0.0.0.0
|
Loading…
Reference in a new issue