1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

Update Readme.

This commit is contained in:
Ferdinand Mütsch
2019-10-08 09:08:52 +02:00
parent 6f3b6a479d
commit 82acd2725e
2 changed files with 13 additions and 5 deletions

View File

@@ -1,8 +1,16 @@
# Build Stage
FROM golang:alpine AS build-env
ADD . /src
RUN cd /src && go build -o wakapi
# final stage
# Final Stage
# When running the application using `docker run`, you can pass environment variables
# to override config values from .env using `-e` syntax.
# Available options are:
# WAKAPI_DB_USER
# WAKAPI_DB_PASSWORD
# WAKAPI_DB_HOST
# WAKAPI_DB_NAME
FROM alpine
WORKDIR /app
COPY --from=build-env /src/wakapi /app/