Dockerfile for heroku
This commit is contained in:
parent
3e99709c0c
commit
ec39b0506b
1 changed files with 2 additions and 2 deletions
|
@ -3,6 +3,6 @@ FROM alpine:3.5
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
EXPOSE 8080
|
|
||||||
ENV GIN_MODE=release
|
ENV GIN_MODE=release
|
||||||
CMD ./main
|
|
||||||
|
CMD ./main $PORT
|
||||||
|
|
Loading…
Reference in a new issue