Skip to content

Commit

Permalink
Update build/package/Dockerfile
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Heimes <[email protected]>
  • Loading branch information
avisiedo and tiran authored Jan 18, 2024
1 parent 55615fb commit b6294cf
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions build/package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,15 @@ RUN ./gen.app.info.sh


FROM quay.io/cloudservices/caddy-ubi:11145b1

WORKDIR /opt/app-root/src

COPY build/package/Caddyfile /opt/app-root/src/Caddyfile
COPY --from=builder /opt/app-root/src/dist /opt/app-root/src/dist/

COPY --from=builder /opt/app-root/src/app.info.json /opt/app-root/src/dist/app.info.json
COPY --from=builder /opt/app-root/src/app.info.deps.json /opt/app-root/src/dist/app.info.deps.json
COPY --from=builder /opt/app-root/src/app.info.json /opt/app-root/src/dist/
COPY --from=builder /opt/app-root/src/app.info.deps.json /opt/app-root/src/dist/
COPY --from=builder /opt/app-root/src/app.info.stable.json /opt/app-root/src/dist/stable/app.info.json
COPY --from=builder /opt/app-root/src/app.info.preview.json /opt/app-root/src/dist/preview/app.info.json

COPY ./package.json /opt/app-root/src


WORKDIR /opt/app-root/src
COPY ./package.json /opt/app-root/src/

RUN sed -i -e 's/\/beta\/apps/\/apps/g' /opt/app-root/src/dist/stable/fed-mods.json

Expand Down

0 comments on commit b6294cf

Please sign in to comment.