Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -10,12 +10,12 @@ WORKDIR /app
|
|
10 |
|
11 |
RUN go mod download
|
12 |
|
13 |
-
RUN go build -o /app/aurora .
|
14 |
|
15 |
FROM alpine:latest
|
16 |
|
17 |
WORKDIR /app
|
18 |
-
|
19 |
COPY --from=builder /app/aurora /app/aurora
|
20 |
|
21 |
EXPOSE 8080
|
|
|
10 |
|
11 |
RUN go mod download
|
12 |
|
13 |
+
RUN go build -ldflags "-s -w" -o /app/aurora .
|
14 |
|
15 |
FROM alpine:latest
|
16 |
|
17 |
WORKDIR /app
|
18 |
+
RUN apk add --no-cache tzdata
|
19 |
COPY --from=builder /app/aurora /app/aurora
|
20 |
|
21 |
EXPOSE 8080
|