Skip to content

Commit ddee137

Browse files
committedAug 22, 2023
Minor fixes for Docker build
1 parent 9f6518c commit ddee137

File tree

4 files changed

+796
-2
lines changed

4 files changed

+796
-2
lines changed
 

‎{{cookiecutter.project_slug}}/backend/app/README.md

+785
Large diffs are not rendered by default.

‎{{cookiecutter.project_slug}}/backend/backend.dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ FROM ghcr.io/br3ndonland/inboard:fastapi-0.51-python3.11
22

33
# Use file.name* in case it doesn't exist in the repo
44
COPY ./app/app /app/app
5-
COPY ./app/pyproject.toml ./app/README.md /app/
5+
COPY ./app/pyproject.toml /app/pyproject.toml
6+
COPY ./app/README.md /app/README.md
67
WORKDIR /app/
78
ENV HATCH_ENV_TYPE_VIRTUAL_PATH=.venv
89
RUN hatch env prune && hatch env create production && pip install --upgrade setuptools

‎{{cookiecutter.project_slug}}/backend/celeryworker.dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ ENV \
1313
PIPX_VERSION=$PIPX_VERSION \
1414
PYTHONPATH=/app
1515
COPY ./app/app /app/app
16-
COPY ./app/pyproject.toml ./app/README.md ./app/worker-start.sh /app/
16+
COPY ./app/pyproject.toml /app/pyproject.toml
17+
COPY ./app/README.md /app/README.md
18+
COPY ./app/worker-start.sh /app/worker-start.sh
1719
RUN <<HEREDOC
1820
python -m pip install --no-cache-dir --upgrade pip "pipx==$PIPX_VERSION"
1921
pipx install "hatch==$HATCH_VERSION"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default defineI18nConfig(() => ({
2+
// https://phrase.com/blog/posts/nuxt-js-tutorial-i18n/
3+
// https://v8.i18n.nuxtjs.org/
4+
// https://saimana.com/list-of-country-locale-code/
5+
legacy: false,
6+
}))

0 commit comments

Comments
 (0)
Please sign in to comment.