Skip to content

Commit

Permalink
docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao001 committed Apr 19, 2024
1 parent 8300c34 commit 0ddb1ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/set_up.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh

basedir=$(cd `dirname $0`; pwd)
WORKSPACE=${basedir}
Expand Down
1 change: 1 addition & 0 deletions syncer-distroless.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ ENV CONFIG_FILE_PATH /opt/app/config/config.json
ENV WORKDIR=/app
WORKDIR ${WORKDIR}
COPY --from=builder /opt/app/build/syncer ${WORKDIR}
COPY --from=builder /opt/app/scripts/set_up.sh ${WORKDIR}

# Run the app
CMD /app/syncer --config-path "$CONFIG_FILE_PATH"

0 comments on commit 0ddb1ba

Please sign in to comment.