Skip to content

Commit

Permalink
fix docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
csuvajit committed Jan 14, 2024
1 parent c47d34e commit 512b865
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- id: upload-to-gcp
uses: google-github-actions/upload-cloud-storage@v2
with:
path: assets.zip
path: raw_json.zip
predefinedAcl: publicRead
destination: ${{ env.GCP_BUCKET_NAME }}

Expand Down
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
FROM node:20-alpine

# RUN apt-get update && apt-get install -y python build-essential
# RUN apk add --update --no-cache --virtual .build-deps make gcc g++ python
RUN apk add --no-cache --virtual .build-deps alpine-sdk python3

WORKDIR /

COPY . .

RUN npm i

RUN apk del .build-deps

ENTRYPOINT ["node", "src/index.js", "--decompress"]

0 comments on commit 512b865

Please sign in to comment.