test
This commit is contained in:
parent
12d1a52e67
commit
b8d577d73a
10
Dockerfile
10
Dockerfile
|
@ -10,13 +10,13 @@ RUN npm install
|
|||
COPY ./src ./src
|
||||
COPY ./public ./public
|
||||
|
||||
#RUN npm run build
|
||||
RUN npm run build
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["npm", "start"]
|
||||
#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
|
||||
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