We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41d4332 commit 53b3243Copy full SHA for 53b3243
Dockerfile
@@ -1,13 +1,13 @@
1
# Do npm install with full image
2
FROM mhart/alpine-node:latest
3
-LABEL maintainer="jakewmeyer@gmail.com"
4
-ENV REDISCLOUD_URL=redis://default:default@redis_db:6379
5
WORKDIR /app
6
COPY package.json package-lock.json ./
7
RUN npm install --production
8
9
# And then copy over node_modules, etc from that stage to the smaller base image
10
FROM mhart/alpine-node:base
+LABEL maintainer="jakewmeyer@gmail.com"
+ENV REDISCLOUD_URL=redis://default:default@redis_db:6379
11
12
COPY --from=0 /app .
13
COPY . .
0 commit comments