Skip to content

Commit

Permalink
feat(Dockerfile): remove requirement for tmp folder
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach authored Jun 27, 2024
1 parent 01b8558 commit dcd4979
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ RUN shards install --production --ignore-crystal-version --skip-postinstall --sk

# Add src
COPY ./src /app/src
RUN mkdir -p /app/tmp

# Build application
RUN UNAME_AT_COMPILE_TIME=true \
Expand Down Expand Up @@ -81,7 +80,6 @@ COPY --from=build /usr/libexec/git-core/ /usr/libexec/git-core/
# Copy the app into place
COPY --from=build /app/deps /
COPY --from=build /app/bin /
COPY --from=build --chown=10001:10001 /app/tmp /tmp
# Use an unprivileged user.
USER appuser:appuser

Expand Down

0 comments on commit dcd4979

Please sign in to comment.