Compare commits
No commits in common. "e0fcb71564e7d549d0dfac9d3bf06bb493536435" and "9e50d2f8b40a7023f92219e6faf573a62377c7c1" have entirely different histories.
e0fcb71564
...
9e50d2f8b4
@ -1,17 +0,0 @@
|
||||
FROM node:lts-alpine as build-client
|
||||
|
||||
RUN echo "Build WebPlay Client"
|
||||
RUN apk update
|
||||
RUN apk add git
|
||||
RUN git clone https://code.anufrij.de/WebPlay/client.git && cd client
|
||||
RUN sed -i '/"electron":/d' client/package.json
|
||||
RUN sed -i '/"electron-builder":/d' client/package.json
|
||||
RUN sed -i '/"express":/d' client/package.json
|
||||
|
||||
RUN cd client && npm install
|
||||
RUN cd client && npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY --from=build-client /client/dist /usr/share/nginx/html
|
||||
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
@ -1,20 +0,0 @@
|
||||
server {
|
||||
listen 80;
|
||||
root /usr/share/nginx/html;
|
||||
client_max_body_size 2G;
|
||||
location /.well-known {
|
||||
resolver 127.0.0.11;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_pass http://server:31204/well-known;
|
||||
}
|
||||
location /api {
|
||||
resolver 127.0.0.11;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_pass http://server:31204/api;
|
||||
}
|
||||
location /users {
|
||||
resolver 127.0.0.11;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_pass http://server:31204/users;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user