From 505358dfebe1d578a3e2b7cbdcb746ae146b5b34 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 18 Apr 2021 12:49:55 +0000 Subject: [PATCH] Update builder configuration --- Dockerfile | 2 +- docker-compose.yml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a2b7a2d..5d743db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ FROM node:alpine AS builder WORKDIR /app COPY . . COPY --from=deps /app/node_modules ./node_modules -RUN yarn build +RUN yarn run build FROM nginx AS runner COPY --from=builder /app/out /usr/share/nginx/html diff --git a/docker-compose.yml b/docker-compose.yml index a721842..df54a81 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,4 @@ services: container_name: "therbron.com" ports: - 8000:80 - volumes: - - ./out:/usr/share/nginx/html restart: unless-stopped