Add dockerfile for development purposes
This commit is contained in:
parent
6cc4c48e2c
commit
759be70ede
1 changed files with 16 additions and 0 deletions
16
Dockerfile.dev
Normal file
16
Dockerfile.dev
Normal file
|
@ -0,0 +1,16 @@
|
|||
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 http://localhost:8000/graphql/
|
||||
ENV APP_MOUNT_URI /dashboard/
|
||||
ENV STATIC_URL /dashboard/
|
||||
VOLUME /app
|
||||
|
||||
EXPOSE 9000
|
||||
CMD npm start -- --host 0.0.0.0
|
Loading…
Reference in a new issue