Added temp formatting to '/stats' and added documentation and CI
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM golang:alpine
|
||||
LABEL author="Marco Cetica"
|
||||
|
||||
# Prepare working directory
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
|
||||
# Copy source files
|
||||
COPY . .
|
||||
|
||||
# Build the application
|
||||
RUN go build -ldflags="-s -w" -o zephyr
|
||||
|
||||
# Run the app
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["./zephyr"]
|
||||
Reference in New Issue
Block a user