Skip to content

Commit

Permalink
minor deprecation fixes docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskoenig committed Aug 15, 2024
1 parent 7a9d22f commit 09d211b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
# sudo docker-compose -f docker-compose-production.yml up
# sudo docker-compose -f docker-compose-production.yml up --detach
# -----------------------------------------------------------------------------
version: '3'

volumes:
vue_dist:
driver: local
Expand Down
2 changes: 1 addition & 1 deletion sbml4humans/Dockerfile-develop
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14.11.0 as build-stage
FROM node:14.11.0 AS build-stage
WORKDIR /app
COPY package*.json /app/
RUN npm install
Expand Down
6 changes: 3 additions & 3 deletions sbml4humans/Dockerfile-production
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# build stage
FROM node:14.11.0 as build-stage
FROM node:14.11.0 AS build-stage
WORKDIR /app
COPY package*.json /app/
RUN npm install
COPY . /app/
RUN npm run build

# production stage
FROM alpine:3.12 as production-stage
FROM alpine:3.12 AS production-stage
RUN mkdir -p /vue
COPY --from=build-stage /app/dist /vue

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

0 comments on commit 09d211b

Please sign in to comment.