Update Dockerfile
This commit is contained in:
+3
-2
@@ -1,4 +1,4 @@
|
||||
### Builder image ###
|
||||
### BUILDER IMAGE ###
|
||||
FROM docker.io/superseriousbusiness/masto-fe-standalone-woodpecker-build:0.1.0 AS builder
|
||||
|
||||
WORKDIR /build
|
||||
@@ -23,11 +23,12 @@ COPY --chown=node:node \
|
||||
RUN yarn && yarn build:production
|
||||
|
||||
|
||||
### Runtime image ###
|
||||
### RUNTIME IMAGE ###
|
||||
FROM docker.io/nginx:alpine AS runtime
|
||||
|
||||
COPY --from=builder /build/public/packs/js/flavours/glitch /usr/share/nginx/html/packs/js/flavours/glitch
|
||||
COPY --from=builder /build/public/packs/js/flavours/vanilla /usr/share/nginx/html/packs/js/flavours/vanilla
|
||||
|
||||
COPY --from=builder /build/public /usr/share/nginx/html/
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
Reference in New Issue
Block a user