Remove user from dockerfile and mvoe it to deployment

This commit is contained in:
kiloreux 2018-01-04 17:27:57 +01:00
parent 2eba9ebeba
commit 49dd1be822
No known key found for this signature in database
GPG Key ID: 8B81EA3FA91EB758
1 changed files with 0 additions and 1 deletions

View File

@ -23,5 +23,4 @@ RUN addgroup -g 1000 tusd \
COPY entrypoint.sh /srv/entrypoint.sh COPY entrypoint.sh /srv/entrypoint.sh
WORKDIR /srv/tusd-data WORKDIR /srv/tusd-data
EXPOSE 1080 EXPOSE 1080
USER tusd
ENTRYPOINT ["/srv/entrypoint.sh"] ENTRYPOINT ["/srv/entrypoint.sh"]