Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/publish-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ jobs:
org.opencontainers.image.created=${{ steps.meta.outputs.created }}
org.opencontainers.image.vendor=University of Ottawa
org.opencontainers.image.description=UmpleOnline frontend
build-args: |
APK_SECURITY_REFRESH=${{ steps.meta.outputs.created }}
cache-from: type=gha,scope=frontend
cache-to: type=gha,mode=max,scope=frontend
sbom: true
Expand Down
3 changes: 2 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ COPY . .
RUN bun run build

FROM nginx:1.29.6-alpine
RUN apk upgrade --no-cache
ARG APK_SECURITY_REFRESH
RUN echo "Refreshing Alpine packages at ${APK_SECURITY_REFRESH}" && apk upgrade --no-cache
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/templates/default.conf.template
EXPOSE 80
Expand Down
Loading