Fakultas Ilmu Komputer UI

Commit edf5e1b1 authored by Giovan Isa Musthofa's avatar Giovan Isa Musthofa
Browse files

Merge branch 'staging' into 'master'

Final fix (2)

See merge request !129
parents 7c287dbd f09c441e
Pipeline #50834 passed with stages
in 23 minutes and 44 seconds
FROM python:3.8-alpine as builder
RUN apk add --no-cache postgresql-dev gcc python3-dev musl-dev libffi-dev
RUN apk add --no-cache postgresql-dev gcc g++ python3-dev musl-dev libffi-dev \
zlib-dev jpeg-dev
WORKDIR /app/
COPY requirements.txt ./
......@@ -28,6 +29,4 @@ ENV DJANGO_SETTINGS_MODULE 'dblood.settings.production'
ENV DEBUG 'False'
ENV STATIC_URL '/api/static/'
RUN ["python", "manage.py", "installtasks"]
CMD ["gunicorn", "dblood.wsgi", "--bind", "0.0.0.0:8000"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment