Skip to content

Commit 5c6d667

Browse files
authored
Docker build fix (#78)
1 parent f6198cd commit 5c6d667

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ RUN set -ex \
1616
FROM node:12.16.1-alpine AS dashboard-build
1717
WORKDIR /app/dashboard
1818

19-
COPY ./dashboard/package.json ./dashboard/yarn.lock ./
20-
COPY ./schema.graphql ./codegen.yml ../
19+
COPY ./dashboard/package.json ./dashboard/yarn.lock ./dashboard/codegen.yml ./
20+
COPY ./schema.graphql ../
2121

2222
# We run yarn install with an increased network timeout (5min) to avoid "ESOCKETTIMEDOUT" errors from hub.docker.com
2323
# See, for example https://github.com/yarnpkg/yarn/issues/5540
@@ -27,6 +27,7 @@ RUN set -ex \
2727
COPY ./dashboard ./
2828

2929
RUN set -ex \
30+
&& yarn run generate \
3031
&& yarn run build \
3132
&& yarn run export
3233

0 commit comments

Comments
 (0)