Update builder configuration
This commit is contained in:
parent
6b8c5b2902
commit
505358dfeb
@ -9,7 +9,7 @@ FROM node:alpine AS builder
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
RUN yarn build
|
RUN yarn run build
|
||||||
|
|
||||||
FROM nginx AS runner
|
FROM nginx AS runner
|
||||||
COPY --from=builder /app/out /usr/share/nginx/html
|
COPY --from=builder /app/out /usr/share/nginx/html
|
||||||
|
@ -8,6 +8,4 @@ services:
|
|||||||
container_name: "therbron.com"
|
container_name: "therbron.com"
|
||||||
ports:
|
ports:
|
||||||
- 8000:80
|
- 8000:80
|
||||||
volumes:
|
|
||||||
- ./out:/usr/share/nginx/html
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Loading…
Reference in New Issue
Block a user