mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
add no-cache and clean up old comments
This commit is contained in:
parent
ab42fff185
commit
c5bb636205
1 changed files with 1 additions and 3 deletions
|
@ -8,7 +8,7 @@ WORKDIR /app
|
|||
|
||||
COPY pyproject.toml poetry.lock README.md tiny_personal_website /app/
|
||||
|
||||
RUN apk add build-base libffi-dev && \
|
||||
RUN apk add --no-cache build-base libffi-dev && \
|
||||
pip install poetry && \
|
||||
poetry config virtualenvs.in-project true && \
|
||||
poetry install --no-ansi --no-root
|
||||
|
@ -37,6 +37,4 @@ RUN addgroup --gid 1000 app && \
|
|||
# `1000`.
|
||||
USER 1000
|
||||
|
||||
# CMD ["/app/.venv/bin/gunicorn", "--bind", ":80", "app:app"]
|
||||
# CMD ["/app/.venv/bin/gunicorn" , "-b", "0.0.0.0:8080", "app:app"]
|
||||
CMD ["/app/.venv/bin/gunicorn" , "-b", "0.0.0.0:8080", "tiny_personal_website:app"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue