mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 01:08:47 +02:00
added new file button in config editor, dockerfile fix
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -2,13 +2,13 @@ FROM alpine:latest
|
||||
|
||||
LABEL maintainer="yusing@6uo.me"
|
||||
|
||||
RUN apk add --no-cache bash tzdata
|
||||
RUN apk add --no-cache tzdata
|
||||
RUN mkdir /app
|
||||
COPY bin/go-proxy entrypoint.sh /app/
|
||||
COPY bin/go-proxy /app/
|
||||
COPY templates/ /app/templates
|
||||
COPY config.example.yml /app/config/config.yml
|
||||
COPY schema/ /app/schema
|
||||
|
||||
RUN chmod +x /app/go-proxy /app/entrypoint.sh
|
||||
RUN chmod +x /app/go-proxy
|
||||
ENV DOCKER_HOST unix:///var/run/docker.sock
|
||||
ENV GOPROXY_DEBUG 0
|
||||
ENV GOPROXY_REDIRECT_HTTP 1
|
||||
@@ -19,4 +19,4 @@ EXPOSE 443
|
||||
EXPOSE 8443
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT /app/entrypoint.sh
|
||||
CMD ["/app/go-proxy"]
|
||||
Reference in New Issue
Block a user