remove nginx
This commit is contained in:
parent
a92975961d
commit
9d9bce9caa
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user