Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +6 -11
Dockerfile
CHANGED
|
@@ -1,14 +1,9 @@
|
|
| 1 |
-
|
| 2 |
-
FROM golang:1.17
|
| 3 |
|
| 4 |
-
|
| 5 |
-
WORKDIR /app
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 9 |
|
| 10 |
-
|
| 11 |
-
EXPOSE 8080 8443
|
| 12 |
-
|
| 13 |
-
# Run the chisel server with default options
|
| 14 |
-
CMD ["/app/chisel", "server"]
|
|
|
|
| 1 |
+
FROM alpine:3.14
|
|
|
|
| 2 |
|
| 3 |
+
RUN apk add --no-cache curl
|
|
|
|
| 4 |
|
| 5 |
+
RUN curl -L -o /usr/local/bin/chisel https://github.com/jpillora/chisel/releases/download/v1.7.6/chisel_1.7.6_linux_amd64.gz \
|
| 6 |
+
&& gunzip /usr/local/bin/chisel \
|
| 7 |
+
&& chmod +x /usr/local/bin/chisel
|
| 8 |
|
| 9 |
+
ENTRYPOINT ["/usr/local/bin/chisel"]
|
|
|
|
|
|
|
|
|
|
|
|