Fix dockerfile for use with nginx-proxy. Use port 80 on local compose by default.
This commit is contained in:
parent
63539b5bc1
commit
f363151045
2 changed files with 4 additions and 3 deletions
|
@ -11,10 +11,11 @@ COPY . /src/
|
|||
RUN make
|
||||
|
||||
|
||||
FROM alpine
|
||||
FROM scratch
|
||||
|
||||
ENTRYPOINT ["/srv/smartswitch-server"]
|
||||
USER smartswitch
|
||||
EXPOSE 7200
|
||||
|
||||
COPY --from=env /etc/passwd /etc/group /etc/
|
||||
COPY --from=build --chown=smartswitch /src/build/ /srv/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue