We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95a0fff commit 2b522aeCopy full SHA for 2b522ae
2 files changed
docker-compose.yml
@@ -9,11 +9,7 @@ services:
9
context: .
10
dockerfile: node.dockerfile
11
args:
12
- buildversion: 1
13
- # environment:
14
- # - NODE_ENV=production
15
- # - PORT=3000
16
- # - build=1
+ PACKAGES: "nano wget curl"
17
ports:
18
- "3000:3000"
19
networks:
node.dockerfile
@@ -21,12 +21,11 @@ FROM node:alpine
21
22
LABEL author="Dan Wahlin"
23
24
-ARG buildversion
+ARG PACKAGES=nano
25
+
26
+ENV TERM xterm
27
+RUN apk update && apk add $PACKAGES
28
-ENV NODE_ENV=production
-ENV PORT=3000
-ENV build=$buildversion
29
-
30
WORKDIR /var/www
31
COPY package.json package-lock.json ./
32
RUN npm install
0 commit comments