You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
FROM node:10-alpine |
|
ENV BACKEND_ADDRESS=http://217.182.0.182:42000/ |
|
|
|
RUN mkdir app |
|
|
|
COPY . /app |
|
|
|
WORKDIR /app |
|
|
|
RUN npm install \ |
|
&& npm run build |
|
|
|
EXPOSE 8080 |
|
|
|
FROM nginx:stable-alpine |
|
|
|
COPY --from=0 /app/dist /usr/share/nginx/html
|
|
|