Skip to content

Commit

Permalink
Build release images
Browse files Browse the repository at this point in the history
  • Loading branch information
daya0576 committed Sep 8, 2024
1 parent e937e31 commit 4c6d423
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ vars.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ COPY requirements.txt .
# libsass requires some features introduced by the recent C++ standard.
# You need a C++ compiler that support those features.
RUN apt-get update \
&& apt-get install -y gcc g++ \
&& apt-get install -y gcc g++ libffi-dev \
&& pip install --no-cache-dir -r requirements.txt \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get purge -y --auto-remove gcc g++
&& apt-get purge -y --auto-remove gcc g++ libffi-dev

COPY . .
CMD ["sh", "start.sh", "prd"]

0 comments on commit 4c6d423

Please sign in to comment.