mirror of
https://github.com/tiennm99/keepalive.git
synced 2026-10-11 03:13:31 +00:00
Update Dockerfile
This commit is contained in:
1 parent
e14405ba04
commit
40e433e284
1 file changed
+3
-2
+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