diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2023-07-17 01:47:57 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2023-07-17 01:52:26 +0200 |
commit | c21f4b3dacd597a15a5ec39d525df1dfe1b70376 (patch) | |
tree | 0dfc51d2ffeb7b5022d9ad852f2fd3620c72196a /proxy/Dockerfile | |
parent | 2c6f98aeef4fa1aba5678fe17c8e762a11db7b40 (diff) | |
download | restaurant-orders-main.tar.gz restaurant-orders-main.zip |
Add project.main
Diffstat (limited to 'proxy/Dockerfile')
-rw-r--r-- | proxy/Dockerfile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/proxy/Dockerfile b/proxy/Dockerfile new file mode 100644 index 0000000..ce56023 --- /dev/null +++ b/proxy/Dockerfile | |||
@@ -0,0 +1,12 @@ | |||
1 | FROM nginxinc/nginx-unprivileged:latest | ||
2 | LABEL maintainer="jdlugosz963@gmail.com" | ||
3 | |||
4 | COPY ./default.conf /etc/nginx/conf.d/default.conf | ||
5 | |||
6 | USER root | ||
7 | |||
8 | RUN mkdir -p /vol/static | ||
9 | RUN chmod 755 /vol/static | ||
10 | |||
11 | USER nginx | ||
12 | |||