Fakultas Ilmu Komputer UI

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

Merge branch 'warmfix-dockerfile' into 'staging'

Add pandas dependency to Dockerfile

See merge request !128
parents 1aa89a72 d7ede02d
Pipeline #50831 passed with stages
in 18 minutes and 1 second
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