code change to work in Fly.io
This commit is contained in:
parent
2e9b61353a
commit
41ba4d5100
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ RUN npm run build
|
||||||
FROM nginx:stable-alpine
|
FROM nginx:stable-alpine
|
||||||
|
|
||||||
# Copy built React files into nginx public folder
|
# Copy built React files into nginx public folder
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
COPY --from=build /app/build /usr/share/nginx/html
|
||||||
|
|
||||||
# Remove default nginx config
|
# Remove default nginx config
|
||||||
RUN rm /etc/nginx/conf.d/default.conf
|
RUN rm /etc/nginx/conf.d/default.conf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue