Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
grillazz committed Apr 5, 2024
1 parent ff29212 commit e666f72
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.2-slim-bookworm AS base
FROM python:3.12-slim-bookworm AS base
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends curl git build-essential \
Expand Down Expand Up @@ -29,8 +29,10 @@ RUN apt-get purge -y curl git build-essential \

FROM install as app-image

COPY greens greens
COPY tests tests
ENV PYTHONPATH=/home/code/ PYTHONHASHSEED=0

COPY greens/ greens/
COPY tests/ tests/
COPY .env ./

# create a non-root user and switch to it, for security.
Expand Down

0 comments on commit e666f72

Please sign in to comment.