radames commited on
Commit
4929c44
1 Parent(s): 7f58bc7
Files changed (1) hide show
  1. Dockerfile +5 -12
Dockerfile CHANGED
@@ -1,15 +1,8 @@
1
- FROM nginx
2
- COPY nginx.conf /etc/nginx/nginx.conf
3
 
4
- # RUN useradd -m -u 1000 user
 
5
 
6
- # USER user
7
 
8
- # ENV HOME=/home/user \
9
- # PATH=/home/user/.local/bin:$PATH
10
-
11
- # WORKDIR $HOME/app
12
-
13
- # COPY --chown=user . $HOME/app
14
-
15
- # CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM debian:latest
 
2
 
3
+ RUN apt-get update && apt-get install --no-install-recommends -y nginx; \
4
+ echo "daemon off;" >> /etc/nginx/nginx.conf
5
 
6
+ EXPOSE 80
7
 
8
+ CMD ./usr/sbin/nginx