Dockerfile 251 Bytes
Newer Older
1
FROM nginx:stable-alpine
2

3 4 5 6 7
# Copy frontend files and make them accesible to nginx
RUN mkdir /www
COPY build /www
RUN chown nginx:nginx -R /www
RUN chmod -R 0755 /www
8

9 10
# Copy nginx configuration
COPY etc/nginx/villas.conf /etc/nginx/conf.d/default.conf