Skip to content

Commit 53b3243

Browse files
committed
moved env variable
1 parent 41d4332 commit 53b3243

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Do npm install with full image
22
FROM mhart/alpine-node:latest
3-
LABEL maintainer="jakewmeyer@gmail.com"
4-
ENV REDISCLOUD_URL=redis://default:default@redis_db:6379
53
WORKDIR /app
64
COPY package.json package-lock.json ./
75
RUN npm install --production
86

97
# And then copy over node_modules, etc from that stage to the smaller base image
108
FROM mhart/alpine-node:base
9+
LABEL maintainer="jakewmeyer@gmail.com"
10+
ENV REDISCLOUD_URL=redis://default:default@redis_db:6379
1111
WORKDIR /app
1212
COPY --from=0 /app .
1313
COPY . .

0 commit comments

Comments
 (0)