Docker + CI should both work now

This commit is contained in:
Midou36O
2022-11-30 14:43:44 +01:00
parent 635c93eded
commit 21165c8c77
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
FROM alpine:latest
WORKDIR /gothub
COPY ./gothub .
COPY ./public/ ./public/
COPY ./views/ ./views/
CMD ["/bin/sh", "-c", "./gothub"]
EXPOSE 3000
+1 -1
View File
@@ -36,7 +36,7 @@ func main() {
app := fiber.New(fiber.Config{
Views: engine,
Prefork: true,
Prefork: false,
AppName: "GotHub",
// fucked up way to fix rate limits
EnableTrustedProxyCheck: true,