Update builder configuration

This commit is contained in:
Tanguy Herbron 2021-04-18 12:49:55 +00:00
parent 6b8c5b2902
commit 505358dfeb
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -8,6 +8,4 @@ services:
container_name: "therbron.com"
ports:
- 8000:80
volumes:
- ./out:/usr/share/nginx/html
restart: unless-stopped