LazyBoss commited on
Commit
78e4d47
·
verified ·
1 Parent(s): e56a462

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -4,6 +4,10 @@ FROM python:3.11-slim
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
 
 
 
 
7
  # Create a directory for data and set permissions
8
  RUN mkdir -p /app/data && chmod -R 777 /app/data
9
 
 
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
7
+ # Create a virtual environment
8
+ RUN python -m venv /opt/venv
9
+ ENV PATH="/opt/venv/bin:$PATH"
10
+
11
  # Create a directory for data and set permissions
12
  RUN mkdir -p /app/data && chmod -R 777 /app/data
13