Skip to content

Commit 09d211b

Browse files
minor deprecation fixes docker files
1 parent 7a9d22f commit 09d211b

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

docker-compose-production.yml

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
# sudo docker-compose -f docker-compose-production.yml up
99
# sudo docker-compose -f docker-compose-production.yml up --detach
1010
# -----------------------------------------------------------------------------
11-
version: '3'
12-
1311
volumes:
1412
vue_dist:
1513
driver: local

sbml4humans/Dockerfile-develop

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14.11.0 as build-stage
1+
FROM node:14.11.0 AS build-stage
22
WORKDIR /app
33
COPY package*.json /app/
44
RUN npm install

sbml4humans/Dockerfile-production

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# build stage
2-
FROM node:14.11.0 as build-stage
2+
FROM node:14.11.0 AS build-stage
33
WORKDIR /app
44
COPY package*.json /app/
55
RUN npm install
66
COPY . /app/
77
RUN npm run build
88

99
# production stage
10-
FROM alpine:3.12 as production-stage
10+
FROM alpine:3.12 AS production-stage
1111
RUN mkdir -p /vue
1212
COPY --from=build-stage /app/dist /vue
1313

14-
CMD ["tail", "-f", "/dev/null"]
14+
CMD ["tail", "-f", "/dev/null"]

0 commit comments

Comments
 (0)