Add Docker environment variable (closes #15)

Signed-off-by: Odyssey <odyssey346@disroot.org>
This commit is contained in:
Odyssey
2023-01-05 20:41:47 +01:00
parent 30014eadb0
commit 8f95e44fab
+1
View File
@@ -16,6 +16,7 @@ COPY --from=build /src/gothub .
COPY --from=build /src/views ./views
COPY --from=build /src/public ./public
ENV DOCKER true
EXPOSE 3000
CMD ["/app/gothub", "serve"]