Skip to content

Commit

Permalink
Create data folders
Browse files Browse the repository at this point in the history
and set proper permissions
  • Loading branch information
cgendreau committed May 15, 2024
1 parent 910e6e7 commit e888c79
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
FROM eclipse-temurin:17-jre-jammy

RUN useradd -s /bin/bash user

RUN mkdir -p /data/templates
RUN mkdir -p /data/exports
RUN chown user:user /data/templates
RUN chown user:user /data/exports

USER user
COPY --chown=644 target/dina-export-api-*.jar /dina-export-api.jar
EXPOSE 8080
Expand Down

0 comments on commit e888c79

Please sign in to comment.