mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-21 21:45:11 +00:00
Dockerfile: circumvent PEP-668 + fix check_connect.js path
This commit is contained in:
parent
8732668372
commit
ab787b8fa6
1 changed files with 2 additions and 3 deletions
|
@ -8,8 +8,7 @@ RUN apk add git linux-headers build-base
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
RUN apk add --update python3 && ln -sf python3 /usr/bin/python
|
RUN apk add --update python3 && ln -sf python3 /usr/bin/python
|
||||||
RUN python3 -m ensurepip
|
RUN apk add py3-pip py3-setuptools
|
||||||
RUN pip3 install --no-cache --upgrade pip setuptools
|
|
||||||
|
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
|
|
||||||
|
@ -65,7 +64,7 @@ COPY --chown=sharkey:sharkey --from=build /sharkey/sharkey-assets ./packages/fro
|
||||||
COPY --chown=sharkey:sharkey package.json ./package.json
|
COPY --chown=sharkey:sharkey package.json ./package.json
|
||||||
COPY --chown=sharkey:sharkey pnpm-workspace.yaml ./pnpm-workspace.yaml
|
COPY --chown=sharkey:sharkey pnpm-workspace.yaml ./pnpm-workspace.yaml
|
||||||
COPY --chown=sharkey:sharkey packages/backend/package.json ./packages/backend/package.json
|
COPY --chown=sharkey:sharkey packages/backend/package.json ./packages/backend/package.json
|
||||||
COPY --chown=sharkey:sharkey packages/backend/check_connect.js ./packages/backend/check_connect.js
|
COPY --chown=sharkey:sharkey packages/backend/scripts/check_connect.js ./packages/backend/scripts/check_connect.js
|
||||||
COPY --chown=sharkey:sharkey packages/backend/ormconfig.js ./packages/backend/ormconfig.js
|
COPY --chown=sharkey:sharkey packages/backend/ormconfig.js ./packages/backend/ormconfig.js
|
||||||
COPY --chown=sharkey:sharkey packages/backend/migration ./packages/backend/migration
|
COPY --chown=sharkey:sharkey packages/backend/migration ./packages/backend/migration
|
||||||
COPY --chown=sharkey:sharkey packages/backend/assets ./packages/backend/assets
|
COPY --chown=sharkey:sharkey packages/backend/assets ./packages/backend/assets
|
||||||
|
|
Loading…
Reference in a new issue