Skip to content

Commit

Permalink
fix(HMS-3414): Create directories in Containerfile
Browse files Browse the repository at this point in the history
Commit c854f2f broke build process:

```
ERROR: failed to solve: failed to compute cache key: failed to calculate
checksum of ref ji869wphngyfym4bml6014fnn::rdlrmumtn45cgenzunvxem3ds:
"/dist": not found
```

Signed-off-by: Christian Heimes <[email protected]>
  • Loading branch information
tiran authored and frasertweedale committed Mar 4, 2024
1 parent c76a153 commit 30ecc23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN ./gen.app.info.sh
FROM quay.io/cloudservices/caddy-ubi:11145b1
WORKDIR /opt/app-root/src

RUN mkdir -p /opt/app-root/src/dist/stable /opt/app-root/src/dist/preview
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/
Expand Down

0 comments on commit 30ecc23

Please sign in to comment.