Skip to content

Commit

Permalink
Add translations to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rudigiesler committed May 2, 2023
1 parent 440920a commit a9bd440
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ RUN poetry build && .venv/bin/pip install dist/*.whl

FROM ghcr.io/praekeltfoundation/python-base-nw:3.9-bullseye

# Everything is installed in the venv, so no reason to copy . anymore
# Copy over translations
COPY locales locales
# Everything else is installed in the venv, so no reason to copy . anymore
COPY --from=build .venv .venv

CMD [".venv/bin/sanic", "--host", "0.0.0.0", "vaccine.main.app"]

0 comments on commit a9bd440

Please sign in to comment.