moriire commited on
Commit
18d0731
1 Parent(s): 434e768

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -46,9 +46,10 @@ RUN python3 -m pip install --upgrade pip
46
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
47
 
48
  ENV HOME=/home/user \
49
- PATH=/home/user/.local/bin:$PATH/app \
50
- MYSQLCLIENT_CFLAGS=`pkg-config mysqlclient --cflags` \
51
- MYSQLCLIENT_LDFLAGS=`pkg-config mysqlclient --libs`
 
52
  # Set the working directory to the user's home directory
53
  #WORKDIR $HOME/app
54
  #RUN chmod -R 755 $HOME/app
 
46
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
47
 
48
  ENV HOME=/home/user \
49
+ PATH=/home/user/.local/bin:$PATH/app
50
+
51
+ RUN export MYSQLCLIENT_CFLAGS=`pkg-config mysqlclient --cflags`
52
+ RUN export MYSQLCLIENT_LDFLAGS=`pkg-config mysqlclient --libs`
53
  # Set the working directory to the user's home directory
54
  #WORKDIR $HOME/app
55
  #RUN chmod -R 755 $HOME/app