Skip to content

Commit

Permalink
update build process
Browse files Browse the repository at this point in the history
  • Loading branch information
philipparndt committed Jan 20, 2022
1 parent 4a5ec25 commit 01097ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
env:
RELEASE_VERSION: ${{ steps.next.outputs.version }}
with:
context: ./app
file: ./app/Dockerfile
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
push: true
tags: |
Expand Down
2 changes: 1 addition & 1 deletion app/Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM node:17.3.1-alpine3.14
WORKDIR /opt/app

# Copy project files
COPY .. .
COPY . .

# Run container as non-root (unprivileged) user
# The node user is provided in the Node.js Alpine base image
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
huemqtt:
hostname: huemqtt
image: pharndt/hue2mqtt:${VERSION}
build: app
build: .
volumes:
- ./production/config:/var/lib/huemqtt:ro
restart: "no"

0 comments on commit 01097ab

Please sign in to comment.