Skip to content
Merged
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
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.14-slim AS backend
FROM python:3.14-slim@sha256:6a27522252aef8432841f224d9baaa6e9fce07b07584154fa0b9a96603af7456 AS backend
WORKDIR /app
COPY backend/ backend/
COPY pyproject.toml pyproject.toml
Expand All @@ -7,7 +7,7 @@ COPY pyproject.toml pyproject.toml
# Note: This requires .env to exist.
# COPY .env backend/.env

FROM node:24-slim AS frontend
FROM node:24-slim@sha256:e8e2e91b1378f83c5b2dd15f0247f34110e2fe895f6ca7719dbb780f929368eb AS frontend
WORKDIR /app
COPY frontend/ frontend/
WORKDIR /app/frontend
Expand All @@ -21,7 +21,7 @@ ENV VITE_BASE_PATH=/static/
ENV VITE_APP_VERSION=${VERSION}
RUN npm run build

FROM python:3.14-slim
FROM python:3.14-slim@sha256:6a27522252aef8432841f224d9baaa6e9fce07b07584154fa0b9a96603af7456
LABEL maintainer="bartekmp"
LABEL description="Dockerfile for a Python backend with a Node.js frontend wordsearch game app called Osmosmjerka with PostgreSQL."

Expand Down