Skip to content
Snippets Groups Projects
Commit d06cee1f authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Fix docker build

parent 968b3114
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,8 @@ RUN apk add --update --no-cache postgresql-dev jpeg-dev build-base wget gzip
# Use current backend source code
ADD . /backend
# Use requirements
RUN pip3 install -r /backend/requirements.txt
# Install arkindex
RUN pip3 install /backend
# Setup gunicorn
RUN pip3 install gunicorn
......@@ -25,4 +25,4 @@ RUN wget --header "PRIVATE-TOKEN: $GITLAB_TOKEN" https://gitlab.com/arkindex/fro
EXPOSE 80
WORKDIR /backend/arkindex
ENV PYTHONPATH "/backend/arkindex"
CMD ["gunicorn", "--access-logfile=-", "--capture-output", "--bind=0.0.0.0:80", "--chdir=/backend", "arkindex.wsgi"]
CMD ["gunicorn", "--access-logfile=-", "--capture-output", "--bind=0.0.0.0:80", "--chdir=/backend", "arkindex.project.wsgi"]
......@@ -14,6 +14,7 @@ latest:
$(MAKE) publish-version VERSION=latest
release: require-version
echo $(version) > $(ROOT_DIR)/VERSION
$(MAKE) publish-version VERSION=$(version)
git tag $(version)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment