Merge branch 'develop'
This commit is contained in:
+2
-9
@@ -1,16 +1,9 @@
|
|||||||
FROM python:alpine
|
FROM python:3.5
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
ENV IS_DOCKER 0
|
ENV IS_DOCKER 0
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY requirements.txt ./
|
COPY requirements.txt ./
|
||||||
COPY requirements-production.txt ./
|
COPY requirements.production.txt ./
|
||||||
|
|
||||||
RUN apk add --no-cache --virtual .build-deps build-base linux-headers \
|
|
||||||
&& apk add --no-cache jpeg-dev zlib-dev postgresql-dev \
|
|
||||||
&& pip install -r requirements.txt \
|
|
||||||
&& pip install -r requirements.production.txt \
|
|
||||||
&& apk del .build-deps
|
|
||||||
|
|
||||||
COPY . ./
|
COPY . ./
|
||||||
COPY sikweb/settings-sample-prod.py settings.py
|
COPY sikweb/settings-sample-prod.py settings.py
|
||||||
|
|
||||||
|
|||||||
@@ -4,3 +4,5 @@ services:
|
|||||||
image: registry.gitlab.com/sahkoinsinoorikilta/vtmk/web2.0-backend:latest
|
image: registry.gitlab.com/sahkoinsinoorikilta/vtmk/web2.0-backend:latest
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
|
env_file:
|
||||||
|
- /home/sik/production/backend.env
|
||||||
|
|||||||
Reference in New Issue
Block a user