Add docker-compose.yaml for client

master
Raymonzut 4 years ago
parent bf0b5448b6
commit f82b6ba8f6
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 1
      client/Dockerfile
  2. 8
      docker-compose.yaml

@ -1,4 +1,3 @@
FROM nginx as production-stage
RUN mkdir /app
COPY /public /app
COPY nginx.conf /etc/nginx/nginx.conf

@ -0,0 +1,8 @@
version: "3.3"
services:
client:
build: client/
ports:
- "5010:80"
volumes:
- "./client/public:/app:rw"
Loading…
Cancel
Save