18 lines
353 B
Plaintext
18 lines
353 B
Plaintext
FROM scratch
|
|
|
|
# Set the current working directory inside the container
|
|
WORKDIR /app
|
|
|
|
COPY ./server .
|
|
COPY ./views ./views
|
|
COPY ./data ./data
|
|
COPY ./js ./js
|
|
COPY ./css ./css
|
|
COPY ./build_number ./build_number
|
|
# COPY --from=builder server ./
|
|
|
|
# Command to run the executable
|
|
CMD ["./server"]
|
|
|
|
# Expose the port on which the Go server will run
|
|
EXPOSE 54321 |