fnp
/
cas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
deployment stuff
[cas.git]
/
Dockerfile
diff --git
a/Dockerfile
b/Dockerfile
index
2b7586c
..
70bd4f0
100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-3,13
+3,11
@@
FROM python:3.10-alpine AS base
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 prod
FROM base AS prod
-COPY src src
-
RUN pip install --no-cache-dir gunicorn psycopg2-binary
RUN pip install --no-cache-dir gunicorn psycopg2-binary
-RUN src/manage.py collectstatic --no-input
+COPY src /app/src