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: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ jobs:
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: ${{ matrix.dockerfile }}
config: .github/workflows/.hadolint.yaml
config: .github/.hadolint.yaml
format: sarif
output-file: hadolint-${{ strategy.job-index }}.sarif
no-fail: true
Expand Down
5 changes: 5 additions & 0 deletions frontend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
.vite
dist
.git
*.md
8 changes: 4 additions & 4 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ WORKDIR /app
RUN chown -R node:node /app
USER node

COPY package.json package-lock.json* ./
COPY --chown=node:node package.json package-lock.json* ./
ENV NPM_CONFIG_INCLUDE=optional
RUN npm ci --include=optional

COPY . .
COPY --chown=node:node . .

EXPOSE 3000

Expand All @@ -22,11 +22,11 @@ WORKDIR /app
RUN chown -R node:node /app
USER node

COPY package.json package-lock.json* ./
COPY --chown=node:node package.json package-lock.json* ./
ENV NPM_CONFIG_INCLUDE=optional
RUN npm ci --include=optional

COPY . .
COPY --chown=node:node . .
RUN npm run build

# ── Stage: Production (nginx) ──
Expand Down
Loading