Update builder configuration
This commit is contained in:
parent
6b8c5b2902
commit
505358dfeb
@ -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
|
||||
|
@ -8,6 +8,4 @@ services:
|
||||
container_name: "therbron.com"
|
||||
ports:
|
||||
- 8000:80
|
||||
volumes:
|
||||
- ./out:/usr/share/nginx/html
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user