remove nginx

This commit is contained in:
agatha 2024-04-09 17:37:24 -04:00
parent a92975961d
commit 9d9bce9caa

View File

@ -1,8 +1,13 @@
FROM nginx:stable-alpine
COPY ./conf/nginx.conf /etc/nginx/nginx.conf
FROM node:alpine
WORKDIR /app
COPY ./src/. .
COPY ./app/package.json /app/package.json
RUN npm install
EXPOSE 8000
COPY ./app /app
RUN npm run build
RUN npm install -g serve
EXPOSE 3000
CMD ["serve", "-s", "--no-clipboard", "build"]