Added the arguments to Dockerfile
This commit is contained in:
@@ -9,6 +9,10 @@ RUN yarn global add node-gyp
|
|||||||
RUN yarn config set network-timeout 600000 -g && yarn install --production
|
RUN yarn config set network-timeout 600000 -g && yarn install --production
|
||||||
ENV PATH /opt/node_modules/.bin:$PATH
|
ENV PATH /opt/node_modules/.bin:$PATH
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
ARG GCS_BUCKET_NAME
|
||||||
|
ARG GCS_SERVICE_ACCOUNT
|
||||||
|
|
||||||
WORKDIR /opt/app
|
WORKDIR /opt/app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|||||||
Reference in New Issue
Block a user