Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Sep 15, 2023
1 parent 2415441 commit 7666256
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN apt-get update -qq && apt-get install -y -qq \
nano \
curl \
git \
iproute2 \
software-properties-common \
shared-mime-info \
fonts-liberation \
Expand Down Expand Up @@ -58,6 +59,6 @@ COPY --chown=geotrek:geotrek docker/* /usr/local/bin/
ENTRYPOINT ["/bin/sh", "-e", "/usr/local/bin/entrypoint.sh"]
EXPOSE 8000

RUN ENV=dev CONVERSION_HOST=localhost CAPTURE_HOST=localhost CUSTOM_SETTINGS_FILE= SECRET_KEY=tmp /opt/venv/bin/python ./manage.py compilemessages
RUN ENV=dev CUSTOM_SETTINGS_FILE= SECRET_KEY=tmp /opt/venv/bin/python ./manage.py compilemessages

CMD ["gunicorn", "geotrek.wsgi:application", "--bind=0.0.0.0:8000"]
2 changes: 0 additions & 2 deletions geotrek/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,8 +696,6 @@ def api_bbox(bbox, buffer):
FACEBOOK_IMAGE_WIDTH = 200
FACEBOOK_IMAGE_HEIGHT = 200

CAPTURE_AUTOLOGIN_TOKEN = os.getenv('CAPTURE_AUTOLOGIN_TOKEN', None)

# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error when DEBUG=False.
Expand Down

0 comments on commit 7666256

Please sign in to comment.