Spaces:
Runtime error
Runtime error
try again
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# Use the official Python 3.9 image
|
2 |
FROM python:3.9
|
3 |
|
4 |
-
RUN apt-get update && apt-get install -y
|
5 |
|
6 |
# Set the working directory to /code
|
7 |
WORKDIR /code
|
@@ -18,7 +18,7 @@ RUN useradd -m -u 1000 user
|
|
18 |
USER user
|
19 |
# Set home to the user's home directory
|
20 |
ENV HOME=/home/user \
|
21 |
-
PATH=/home/user/.local/bin
|
22 |
|
23 |
# Set the working directory to the user's home directory
|
24 |
WORKDIR $HOME/app
|
|
|
1 |
# Use the official Python 3.9 image
|
2 |
FROM python:3.9
|
3 |
|
4 |
+
RUN apt-get update -y && apt-get install -y build-essential
|
5 |
|
6 |
# Set the working directory to /code
|
7 |
WORKDIR /code
|
|
|
18 |
USER user
|
19 |
# Set home to the user's home directory
|
20 |
ENV HOME=/home/user \
|
21 |
+
PATH=/home/user/.local/bin:/usr/local/bin/:$PATH
|
22 |
|
23 |
# Set the working directory to the user's home directory
|
24 |
WORKDIR $HOME/app
|