chanderlud / giga-grabber

A very fast and stable Mega downloader
MIT License
38 stars 4 forks source link

lack of Dockerfile #3

Closed Soebb closed 5 months ago

chanderlud commented 5 months ago

Hi, could you provide some details about the issue?

Soebb commented 5 months ago

I meant something like this

#Dockerfile 
FROM rust:latest

# Set the working directory to /app
WORKDIR /app

COPY . ./

# Build the dependencies
RUN cargo build --release

# Set the entrypoint to the binary
ENTRYPOINT ["./target/release/giga_grabber"]

EXPOSE 5000

# Set the default command to --help
CMD ["--help"]
chanderlud commented 5 months ago

The GUI version does not check for any command line arguments so I think it should be this correct? The GUI should open when the dockerfile runs.

#Dockerfile 
FROM rust:latest

# Set the working directory to /app
WORKDIR /app

COPY . ./

# Build the dependencies
RUN cargo build --release

# Set the entrypoint to the binary
ENTRYPOINT ["./target/release/giga_grabber"]

EXPOSE 5000

# Set the default command to --help
CMD []