eeg_certs/backend/docker/Dockerfile

17 lines
346 B
Docker
Raw Permalink Normal View History

## 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"]