diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index d96e6c8..7e2c183 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.12 - name: Install dependencies and run job run: | cd .github/automation diff --git a/Dockerfile b/Dockerfile index 5be6d1a..b653040 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14-alpine +FROM node:20-alpine ENV SERVERLESS serverless@3.38.0 @@ -7,7 +7,7 @@ RUN apk --no-cache update && \ docker \ python3 \ python3-dev \ - py-pip \ + py3-pip \ ca-certificates \ groff \ less \ @@ -22,9 +22,10 @@ RUN apk --no-cache update && \ openssh \ postgresql-dev \ yarn && \ - pip --no-cache-dir install awscli virtualenv && \ + python3 -m venv /venv && \ + source /venv/bin/activate && \ + pip install --no-cache-dir awscli virtualenv && \ update-ca-certificates && \ - rm -rf /var/cache/apk/* && \ yarn global add $SERVERLESS -WORKDIR /work \ No newline at end of file +WORKDIR /work