mirror of
https://github.com/tiennm99/keepalive.git
synced 2026-08-24 12:27:00 +00:00
Update Dockerfile
This commit is contained in:
+3
-2
@@ -31,12 +31,13 @@ RUN adduser \
|
||||
--no-create-home \
|
||||
--uid "${UID}" \
|
||||
appuser
|
||||
|
||||
RUN mkdir -p /app && chown -R appuser:appuser /app
|
||||
|
||||
USER appuser
|
||||
|
||||
COPY --from=build /bin/server /bin/
|
||||
|
||||
RUN mkdir -p /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
EXPOSE 1999
|
||||
|
||||
Reference in New Issue
Block a user