Created
November 6, 2022 17:11
-
-
Save khannedy/60d4a23b7f744d12d2d84c63952ae744 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.18-alpine | |
ENV APP_PORT=8080 | |
ENV MODE=local | |
RUN mkdir app | |
COPY main.go app | |
EXPOSE ${APP_PORT} | |
CMD go run app/main.go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment