diff --git a/Dockerfile.releaser b/Dockerfile.releaser index a83fd5e8..884b41a3 100644 --- a/Dockerfile.releaser +++ b/Dockerfile.releaser @@ -14,8 +14,6 @@ RUN adduser \ FROM bitnami/minideb:buster -ADD payd-server /bin -ADD data/sqlite/migrations/ /migrations COPY --from=builder /etc/passwd /etc/passwd COPY --from=builder /etc/group /etc/group COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt @@ -23,6 +21,9 @@ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certifi RUN mkdir /paydb && chown -R appuser:appuser /paydb VOLUME /paydb +ADD data/sqlite/migrations/ /migrations +ADD payd-server /bin + USER appuser:appuser EXPOSE 8443