test
This commit is contained in:
parent
d2b49ab48c
commit
12d1a52e67
10
Dockerfile
10
Dockerfile
|
@ -10,11 +10,13 @@ RUN npm install
|
|||
COPY ./src ./src
|
||||
COPY ./public ./public
|
||||
|
||||
RUN npm run build
|
||||
#RUN npm run build
|
||||
|
||||
COPY . .
|
||||
|
||||
FROM nginx:stable-alpine
|
||||
COPY --from=build /app/build /usr/share/nginx/html
|
||||
COPY nginx.default.conf /etc/nginx/conf.d/default.conf
|
||||
CMD ["npm", "start"]
|
||||
|
||||
#FROM nginx:stable-alpine
|
||||
#COPY --from=build /app/build /usr/share/nginx/html
|
||||
#COPY nginx.default.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
|
|
Loading…
Reference in New Issue