Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Septem151 committed Mar 24, 2023
2 parents c0b9179 + 9a5df19 commit e5a9231
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
.git*
LICENSE.txt
*.md
.idea/
tests/
venv/
**/__pycache__
**/.pytest_cache
**/*.env
run.py
build/
dist/
**/*.egg-info
junit/
.coverage
cov-*.xml
cov_html*/
6 changes: 3 additions & 3 deletions Dockerfile_web
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM python:3.11-slim-buster
RUN apt-get update && apt-get upgrade -y && apt-get install -y bash curl openssh-server gifsicle \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
COPY ./.profile.d /app/.profile.d
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
COPY ./requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip3 install .[server]
COPY ./.profile.d ./pyproject.toml ./README.md ./LICENSE.txt /app/
COPY ./gifsync /app/gifsync
RUN pip3 install --upgrade pip
RUN pip3 install .[server]
CMD exec gunicorn -b 0.0.0.0:${PORT:-8000} --workers=1 --threads=2 --worker-class=gthread gifsync:app --log-file -

0 comments on commit e5a9231

Please sign in to comment.