diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..0af57ce --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +README.md +.git diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..204af01 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM nginx:alpine + +LABEL org.opencontainers.image.title="Copymoji" \ + org.opencontainers.image.description="Emoji & Unicode character picker — click to copy" + +COPY web/ /usr/share/nginx/html/ + +EXPOSE 80 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b35258e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +services: + copymoji: + build: . + image: copymoji:v1.0.0 + container_name: copymoji + restart: unless-stopped + ports: + - "8080:80" + volumes: + - ./web:/usr/share/nginx/html