Skip to content

Commit

Permalink
Update Dockerfile — Add a mapped folder
Browse files Browse the repository at this point in the history
  • Loading branch information
gejingquan authored Aug 30, 2024
1 parent b5620b4 commit ff4f25e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Use an Ubuntu base image
FROM python:3.12.1-slim

RUN mkdir vol

# Set the working directory to /app/AutoPatcher
WORKDIR /app

Expand Down Expand Up @@ -34,4 +36,4 @@ RUN gdown '1odETLrot-tCNxUoDJsyLuGjGRwsICeZ9' -O /app/models/model.bin
# Specify the command to run on container start
CMD ["python", "autopatcher.py"]

# docker run -it --rm --name myautopatcher autopatcher
# docker run -it --rm --name myautopatcher autopatcher

0 comments on commit ff4f25e

Please sign in to comment.