Skip to content

Commit

Permalink
Merge pull request #222 from bento-platform/fix/dockerfiles
Browse files Browse the repository at this point in the history
fix: missing entrypoint in dockerfiles
  • Loading branch information
v-rocheleau authored Nov 13, 2024
2 parents 9088195 + 3477f3f commit 9e76b35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ COPY LICENSE .
COPY create_config_prod.js .
# - Copy in the service info generator
COPY create_service_info.js .
# - Copy in the entrypoint, which writes the config file and starts NGINX
# - Copy in the run.bash, which writes the config file and starts NGINX
COPY run.bash .
# - Copy in package.json to provide version to scripts
COPY package.json .
Expand All @@ -57,5 +57,4 @@ COPY package.json .
# - this way we can cache layers
COPY --from=build /bento-public/dist ./dist

ENTRYPOINT [ "/bin/bash", "./entrypoint.bash" ]
CMD [ "/bin/bash", "./run.bash" ]
1 change: 1 addition & 0 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ LABEL org.opencontainers.image.description="Local development image for Bento Pu

WORKDIR /bento-public

COPY entrypoint.bash .
COPY run.dev.bash .
COPY package.json .
COPY package-lock.json .
Expand Down

0 comments on commit 9e76b35

Please sign in to comment.