Backend/frontend.Dockerfile

18 lines
312 B
Docker
Raw Normal View History

2021-02-11 22:27:36 -05:00
FROM nginx:mainline-alpine
WORKDIR /usr/bin/cre/
ARG ARTIFACT_NAME=ColorRecipesExplorer-ng
COPY $ARTIFACT_NAME.zip .
COPY frontend.nginx.conf /etc/nginx/nginx.conf
RUN apk update
RUN apk add --no-cache zip
RUN unzip $ARTIFACT_NAME.zip
RUN rm $ARTIFACT_NAME.zip
2021-02-11 23:09:36 -05:00
EXPOSE 80
2021-02-11 22:27:36 -05:00
CMD ["nginx", "-g", "daemon off;"]