Set the config we'd like to use when building our app

This commit is contained in:
dannyrb committed 2019-05-03 21:19:41 -04:00
1 parent 08db413024
commit ea7e7e3292
1 file changed
+1 -1
+1 -1
View File
@@ -2,10 +2,10 @@
# docker build -t ohif/viewer:latest . # docker build -t ohif/viewer:latest .
FROM node:11.2.0-slim as builder FROM node:11.2.0-slim as builder
# RUN apt-get update && apt-get install -y git yarn
RUN mkdir /usr/src/app RUN mkdir /usr/src/app
WORKDIR /usr/src/app WORKDIR /usr/src/app
ENV REACT_APP_CONFIG=config/example_openidc.js
ENV PATH /usr/src/app/node_modules/.bin:$PATH ENV PATH /usr/src/app/node_modules/.bin:$PATH
COPY package.json /usr/src/app/package.json COPY package.json /usr/src/app/package.json