chore: Update Dockerfile and main.go for serving web content from the 'web' directory

This commit is contained in:
skidoodle 2024-05-31 22:15:38 +02:00
parent 23d176dcc7
commit 9b9d9ba192
6 changed files with 216 additions and 225 deletions

View file

@ -7,6 +7,6 @@ FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /app/iphistory .
COPY --from=builder /app/index.html .
COPY --from=builder /app/web ./web
EXPOSE 8080
CMD ["./iphistory"]