17 lines
346 B
Docker
17 lines
346 B
Docker
## This dockerfile just creates an image for the backend binary
|
|
## to run on.
|
|
|
|
## This Dockerfile expects on this same directory:
|
|
## - The backend binary
|
|
## - The .env file
|
|
|
|
# Copy the binary into the image
|
|
COPY backend .
|
|
# Copy the generated env file
|
|
COPY .env .
|
|
|
|
EXPOSE 8000
|
|
|
|
# Run the binary, the default Rocket port is 8000
|
|
CMD ["./backend"]
|