Add API monorepo

Change-Id: I39aa1707744bb86c4bc9113157bbf815bb3fe33a
This commit is contained in:
Roman Jaroš 2023-09-10 21:24:57 +02:00
parent b87cff043a
commit 5246efb027
56 changed files with 251 additions and 22 deletions

View file

@ -0,0 +1,12 @@
FROM nginx:1.13.9-alpine
RUN mkdir app
RUN mkdir -p /run/nginx
COPY build /app
COPY docker/nginx/conf.d/ /etc/nginx/conf.d/
EXPOSE 80
VOLUME [ "/etc/nginx/conf.d" ]
ENTRYPOINT ["nginx", "-g", "daemon off;"]

View file

@ -0,0 +1,13 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
root /app;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}