Skip to content

Commit

Permalink
Merge pull request #87 from cloud-barista/feature/fix-docker-file-for…
Browse files Browse the repository at this point in the history
…-admin-cli

Fix : Dockerimage for admin-cli
  • Loading branch information
heedaeshin authored Nov 22, 2024
2 parents 047a7bd + 71b027e commit 685d020
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ RUN chown -R ${USER}:${GROUP} /app
USER ${USER}
COPY --from=builder --chown=${USER}:${GROUP} /opt/app /app/app
COPY --from=builder --chown=${USER}:${GROUP} /opt/web /app/web
COPY --from=builder --chown=${USER}:${GROUP} /opt/data /app/data
COPY --from=builder --chown=${USER}:${GROUP} /opt/scripts /app/scripts
#-------------------------------------------------------------
# Add entrypoint script
COPY --chown=${USER}:${GROUP} entrypoint.sh /app/entrypoint.sh
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ services:
- "3300:3300"
restart : always
volumes:
- ./data:/app/data/
- ./scripts:/app/scripts/
- /etc/localtime:/etc/localtime:ro
- ./data:/app/data/ # container-volume
- ./scripts:/app/scripts/ # container-volume
- /etc/localtime:/etc/localtime:ro # timezone
env_file:
- .env
# Health check configuration
Expand Down

0 comments on commit 685d020

Please sign in to comment.