fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
deployment stuff
[edumed.git]
/
Dockerfile
diff --git
a/Dockerfile
b/Dockerfile
index
2ee1cce
..
cf8de3c
100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-1,4
+1,4
@@
-FROM
python:2.7
AS base
+FROM
turicas/python:2.7-slim-bookworm
AS base
RUN apt-get update && apt-get install -y \
libxslt-dev libxml2-dev build-essential \
RUN apt-get update && apt-get install -y \
libxslt-dev libxml2-dev build-essential \
@@
-12,7
+12,7
@@
RUN apt-get update && apt-get install -y \
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
-WORKDIR /app
+WORKDIR /app
/src
FROM base AS dev
FROM base AS dev
@@
-23,4
+23,4
@@
FROM base AS prod
RUN pip install --no-cache-dir gunicorn psycopg2-binary
RUN pip install --no-cache-dir gunicorn psycopg2-binary
-COPY
. /app
+COPY
src /app/src/