Corrected ownership of schema file.

This commit is contained in:
James Blair 2020-06-16 19:18:21 +12:00
parent d67a780185
commit c6360ce3be

View File

@ -19,6 +19,9 @@ COPY --from=api /usr/src/app/out /usr/src/app/public
RUN yarn install --frozen-lockfile
RUN yarn build
## Glue
RUN addgroup --gid 9999 ohmyform && adduser --disabled-login --uid 9999 --gid 9999 ohmyform && \
touch /usr/src/app/src/schema.gql && chown ohmyform:ohmyform /usr/src/app/src/schema.gql
## Production Image.
FROM node:12