add entrypoint.sh to Dockerfile

This commit is contained in:
Mathilde Grünig 2023-06-22 15:05:50 +02:00
parent eed556865e
commit cd0ca6fa88
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ RUN addgroup -g 4001 -S cryptpad \
COPY --from=build --chown=cryptpad /cryptpad /cryptpad COPY --from=build --chown=cryptpad /cryptpad /cryptpad
USER cryptpad USER cryptpad
# Copy docker-entrypoint.sh script
COPY docker-entrypoint.sh /docker-entrypoint.sh
# Set workdir to cryptpad # Set workdir to cryptpad
WORKDIR /cryptpad WORKDIR /cryptpad