diff --git a/Dockerfile b/Dockerfile index 5221bc7..a86d6f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # stage 1 - build react and elm apps first -FROM node:20.5.1-alpine as build +FROM node:20.5.1-alpine AS build RUN apk update &&\ apk --no-cache add curl &&\ @@ -10,7 +10,7 @@ RUN apk update &&\ apk del curl WORKDIR /app -ENV PATH /app/node_modules/.bin:$PATH +ENV PATH=/app/node_modules/.bin:$PATH COPY ./package.json /app/ RUN npm install COPY . /app @@ -25,5 +25,5 @@ COPY --from=build /app/src/michelaben /usr/share/nginx/html/michelaben RUN rm /etc/nginx/conf.d/default.conf COPY config/nginx/nginx.conf /etc/nginx/conf.d EXPOSE 80 -EXPOSE 443 +#EXPOSE 443 CMD ["nginx", "-g", "daemon off;"]