Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
esme518 committed Oct 2, 2024
1 parent 617cbc3 commit 31c0754
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Dockerfile for snell
#

FROM alpine as source
FROM alpine AS source

ARG SNELL_VER=4.0.1
ARG SNELL_VER=4.1.1

WORKDIR /root

Expand All @@ -28,16 +28,16 @@ RUN set -ex \
&& apk add --update --no-cache \
libstdc++ \
tini \
&& chown -R nonroot.nonroot /etc/snell \
&& chown -R nonroot:nonroot /etc/snell \
&& rm -rf /tmp/* /var/cache/apk/*

WORKDIR /etc/snell
ENV PATH /etc/snell:$PATH
ENV PATH=/etc/snell:$PATH

ENV INTERFACE 0.0.0.0
ENV PORT 6160
ENV INTERFACE=0.0.0.0
ENV PORT=6160
ENV PSK=
ENV IPV6 false
ENV IPV6=false

ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
CMD ["snell-server", "-c", "snell-server.conf"]

0 comments on commit 31c0754

Please sign in to comment.