mirror of
https://github.com/alterware/master-server.git
synced 2025-05-09 22:14:53 +00:00
fix Docker
This commit is contained in:
parent
b5ab843ae1
commit
d91f84d14e
@ -1,10 +1,11 @@
|
|||||||
FROM alpine:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
RUN apk add --no-cache gcompat libstdc++
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y libc++-dev
|
||||||
|
|
||||||
COPY --chmod=755 ./linux-x64-release/alterware-master /usr/local/bin/
|
COPY --chmod=755 ./linux-x64-release/alterware-master /usr/local/bin/
|
||||||
|
|
||||||
RUN addgroup -S alterware-master && adduser -S alterware-master -G alterware-master
|
RUN groupadd alterware-master && useradd -r -g alterware-master alterware-master
|
||||||
USER alterware-master
|
USER alterware-master
|
||||||
|
|
||||||
EXPOSE 20810/udp
|
EXPOSE 20810/udp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user