We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 685fc91 commit 4f1e475Copy full SHA for 4f1e475
docker/discord-bot/Dockerfile
@@ -28,7 +28,6 @@ ARG GRAPHQL_HOST
28
29
ENV GRAPHQL_URL https://$GRAPHQL_HOST.onrender.com/v1/graphql
30
ENV HASURA_GRAPHQL_ADMIN_SECRET metagame_secret
31
-ENV RUNTIME_ENV docker
32
33
# Build
34
RUN yarn discord-bot build
@@ -40,6 +39,9 @@ RUN yarn install --pure-lockfile --production --ignore-scripts --prefer-offline
40
39
FROM node:12-alpine as app
41
WORKDIR /app
42
+# Needed at runtime
43
+ENV RUNTIME_ENV docker
44
+
45
# Copy necessary files into the stage
46
COPY --from=build /usr/src/app/package.json ./package.json
47
COPY --from=build /usr/src/app/node_modules ./node_modules
0 commit comments