v0.0.2
This commit is contained in:
parent
d841b0f292
commit
a07a752141
@ -1,6 +1,9 @@
|
||||
services:
|
||||
web:
|
||||
build: ./web
|
||||
command: >
|
||||
sh -c "python manage.py collectstatic --noinput &&
|
||||
daphne -b 0.0.0.0 -p 8106 app.asgi:application"
|
||||
volumes:
|
||||
- .:/app
|
||||
- ./media:/app/media
|
||||
|
||||
@ -19,8 +19,5 @@ WORKDIR /app/web
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN python manage.py collectstatic --noinput
|
||||
COPY . .
|
||||
COPY models ./models
|
||||
|
||||
CMD ["daphne", "-b", "0.0.0.0", "-p", "8106", "app.asgi:application"]
|
||||
COPY models ./models
|
||||
Loading…
x
Reference in New Issue
Block a user