fresh start
This commit is contained in:
parent
c80ee1054b
commit
c297ad6085
26 changed files with 4578 additions and 243 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -12,16 +12,16 @@ RUN npm run build
|
|||
# Serve Stage
|
||||
FROM nginx:stable-alpine
|
||||
|
||||
# Copy built React files into nginx public folder
|
||||
# Copy built frontend into nginx public folder
|
||||
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
|
||||
|
||||
# Add your own nginx config
|
||||
COPY nginx.conf /etc/nginx/conf.d
|
||||
# Add custom Nginx config
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Expose port 80
|
||||
# Expose port 80 (not 8080 inside container)
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue