diff --git a/docker-compose-production.yml b/docker-compose-production.yml index 64746d2f..592e31d5 100644 --- a/docker-compose-production.yml +++ b/docker-compose-production.yml @@ -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 diff --git a/sbml4humans/Dockerfile-develop b/sbml4humans/Dockerfile-develop index 5e72a392..e5c368f6 100644 --- a/sbml4humans/Dockerfile-develop +++ b/sbml4humans/Dockerfile-develop @@ -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 diff --git a/sbml4humans/Dockerfile-production b/sbml4humans/Dockerfile-production index 1a406441..f44a2dd8 100644 --- a/sbml4humans/Dockerfile-production +++ b/sbml4humans/Dockerfile-production @@ -1,5 +1,5 @@ # 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 @@ -7,8 +7,8 @@ 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"] \ No newline at end of file +CMD ["tail", "-f", "/dev/null"]