mirror of
https://github.com/skidoodle/iphistory.git
synced 2025-02-15 08:29:16 +01:00
chore: Update Dockerfile and main.go for serving web content from the 'web' directory
This commit is contained in:
parent
23d176dcc7
commit
9b9d9ba192
6 changed files with 216 additions and 225 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue