Spaces:
Paused
Paused
matthoffner
commited on
Commit
•
de080c8
1
Parent(s):
ab0b979
Update Dockerfile
Browse files- Dockerfile +9 -0
Dockerfile
CHANGED
@@ -2,6 +2,15 @@ FROM python:latest
|
|
2 |
|
3 |
ENV PYTHONUNBUFFERED 1
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
EXPOSE 8000
|
6 |
|
7 |
RUN useradd -m -u 1000 user
|
|
|
2 |
|
3 |
ENV PYTHONUNBUFFERED 1
|
4 |
|
5 |
+
USER root
|
6 |
+
RUN apt-get update && apt-get install -y \
|
7 |
+
build-essential \
|
8 |
+
libssl-dev \
|
9 |
+
libffi-dev \
|
10 |
+
python3-dev \
|
11 |
+
zlib1g-dev \
|
12 |
+
libevent-dev
|
13 |
+
|
14 |
EXPOSE 8000
|
15 |
|
16 |
RUN useradd -m -u 1000 user
|