mirror-nourybot/Dockerfile

12 lines
270 B
Docker
Raw Normal View History

2021-10-25 19:27:52 +02:00
# 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"]