Skip to content

Commit

Permalink
Merge pull request #56 from dappnode/installer-issue
Browse files Browse the repository at this point in the history
Fix avahi forbidden issue
  • Loading branch information
pablomendezroyo authored Nov 11, 2021
2 parents 170d809 + 59d1f6d commit c1c60d1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
defaults:
run:
working-directory: api
runs-on: ubuntu-16.04
runs-on: ubuntu-latest
name: Unit tests
steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM ruby:2.7.3-alpine AS ruby-builder
FROM ruby:2.7.4-alpine AS ruby-builder

RUN apk add --update build-base

COPY ./Gemfile .
RUN bundle install



FROM node:12-alpine AS node-builder

WORKDIR /src/api/
Expand All @@ -21,8 +19,6 @@ RUN yarn run build
# Re-install only production for final layer
RUN rm -rf node_modules && yarn install --production



FROM nginx:1.19.6-alpine AS final-stage
ARG TARGETPLATFORM

Expand Down Expand Up @@ -54,7 +50,7 @@ RUN export ARCH=$(echo $TARGETPLATFORM | cut -d'/' -f2 | sed 's/arm64/aarch64/')
rm /etc/nginx/conf.d/default.conf && \
apk add --update \
# From original image
python2 ruby=2.7.3-r0 iproute2 apache2-utils logrotate openssl \
python2 ruby=2.7.4-r0 iproute2 apache2-utils logrotate openssl \
# For Typescript app
nodejs \
&& \
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
WEBSOCKET: "true"
PUBLIC_DOMAIN: null
FORCE: null
dns: 172.33.1.2
networks:
dncore_network:
aliases:
Expand Down
8 changes: 8 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"0.1.1": {
"hash": "/ipfs/QmTDtAF9P9ZX5eFV11W5vi6W411u3mX5F6hnsYSn1AwjeU",
"uploadedTo": {
"dappnode": "Thu, 10 Jun 2021 10:01:46 GMT"
}
}
}

0 comments on commit c1c60d1

Please sign in to comment.