Skip to content

Commit 5525a62

Browse files
committed
Dockerimage
1 parent c0e8aae commit 5525a62

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Dockerfile

+2-5
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,10 @@ ADD service/cmd cmd
1111
WORKDIR /go/src/app/cmd/server
1212
RUN go build -o app-server
1313

14-
# final stage
15-
FROM alpine:latest
16-
WORKDIR /app
1714
RUN apk --no-cache update
1815
RUN apk --no-cache upgrade
1916
RUN apk add --no-cache tzdata
2017
RUN cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime
2118
RUN echo "Europe/Berlin" > /etc/timezone
22-
COPY --from="build-env" /go/src/app/cmd/server/app-server /app/
23-
ENTRYPOINT ./app-server
19+
20+
CMD [ "/app-server" ]

0 commit comments

Comments
 (0)