Trying to add conf option

This commit is contained in:
Jon Ervine 2021-02-23 22:44:14 +08:00
parent fee7190e8d
commit 95bef73e60
2 changed files with 2 additions and 2 deletions

View File

@ -15,10 +15,9 @@ ENV NODE_ENV=production
EXPOSE 3000
COPY --from=builder /usr/src/app/build /usr/src/app/build
COPY --from=builder /usr/src/app/node_modules /usr/src/app/node_modules
COPY --from=builder /usr/src/app/package.json /usr/src/app/
RUN apk add -U openssh-client sshpass && \
mkdir ~/.ssh
EXPOSE 3000
ENTRYPOINT [ "yarn" , "docker-entrypoint"]
ENTRYPOINT [ "yarn" , "docker-entrypoint", "--conf", "config.json" ]

1
info Normal file
View File

@ -0,0 +1 @@
Need to add the env vars to the package.json file somehow.