mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
12 lines
287 B
Docker
12 lines
287 B
Docker
# Download latest golang image
|
|
FROM golang:latest
|
|
# Create a directory for the app
|
|
RUN mkdir /app
|
|
# Copy all files from current directory to working directory
|
|
COPY . /app
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
RUN cd cmd && go build -o Nourybot
|
|
|
|
CMD ["/app/cmd/Nourybot -mode production"] |