diff --git a/Dockerfile b/Dockerfile index dee529f..cfc2f5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,6 @@ RUN adduser \ --no-create-home \ --uid "${UID}" \ appuser -USER appuser # Copy the executable from the "build" stage. COPY ./bin/app /bin @@ -40,6 +39,8 @@ RUN chown appuser /bin/app RUN ls -l /bin +USER appuser + # Expose the port that the application listens on. EXPOSE 8080