pp6
continuous-integration/drone/push Build is passing Details

master
remrem 11 months ago
parent e86e974faa
commit f885e9baf3

@ -8,6 +8,7 @@ RUN npm run build
### STAGE 2: Run ### ### STAGE 2: Run ###
FROM nginx:alpine FROM nginx:alpine
EXPOSE 8080
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=build /usr/src/app/dist/portfolioo/browser /usr/share/nginx/html COPY --from=build /usr/src/app/dist/portfolioo/browser /usr/share/nginx/html
EXPOSE 8080

@ -4,7 +4,7 @@ http {
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
server { server {
listen 8080; listen 8080;
server_name 0.0.0.0; server_name localhost;
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html; index index.html;
location / { location / {

Loading…
Cancel
Save