corrected docker file
This commit is contained in:
parent
b8880e358e
commit
a67a1fef8a
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/build /usr/share/nginx/html
|
COPY --from=build /app/dist /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