Skip to content

Commit

Permalink
feat(version): release 0.21.9 version
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhangunduz committed Dec 12, 2023
1 parent e02f2af commit 548854e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ WORKDIR /app
RUN npm install
RUN NODE_OPTIONS="--max-old-space-size=4096" npm run build
FROM nginx:alpine as production-stage
COPY --from=build-stage /app/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build-stage /app/build /usr/share/nginx/html
EXPOSE 80
15 changes: 15 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
server {
listen 80;
server_name localhost;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri /index.html;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui",
"version": "0.21.8",
"version": "0.21.9",
"private": true,
"scripts": {
"dev": "react-scripts start",
Expand Down

0 comments on commit 548854e

Please sign in to comment.