Skip to content

Commit ed0db4b

Browse files
committed
fix: update Dockerfile reference
Signed-off-by: Valentin Schneider-Lunitz <45590799+vschnei@users.noreply.github.com>
1 parent 725d725 commit ed0db4b

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

backend/Dockerfile.production

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
66
FLASK_ENV=production
77

88
RUN groupadd --gid 1000 appuser && \
9-
useradd --uid 1000 --gid appuser --shell /
9+
useradd --uid 1000 --gid appuser --no-create-home --shell /usr/sbin/nologin appuser
1010
WORKDIR /app
1111
RUN apt-get update && apt-get install -y \
1212
curl \
@@ -18,8 +18,6 @@ RUN pip install --no-cache-dir --upgrade pip && \
1818
COPY . .
1919
RUN mkdir -p uploads logs && \
2020
chown -R appuser:appuser /app
21-
COPY tes_instance_locations.json .
22-
COPY .tes_instances .
2321
USER appuser
2422
VOLUME ["/app/uploads"]
2523
EXPOSE 8000

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
tes-dashboard-backend-service:
33
build:
44
context: ./backend
5-
dockerfile: Dockerfile
5+
dockerfile: Dockerfile.production
66
container_name: tes-dashboard-backend
77
environment:
88
PORT: 8000

0 commit comments

Comments
 (0)