Skip to content

Commit

Permalink
docker fix
Browse files Browse the repository at this point in the history
fixes for the docker file and inclusion of cname
  • Loading branch information
BrandtH22 committed Jan 11, 2024
1 parent c0f9ef7 commit 2d3a50f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 29 deletions.
2 changes: 0 additions & 2 deletions .dockerignore

This file was deleted.

1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chialisp.com
19 changes: 4 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
FROM node:16

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install

COPY . .

EXPOSE 3000

RUN ./node_modules/yarn/bin/yarn

CMD [ "yarn", "start" ]
FROM nginx:stable-alpine
COPY build /usr/share/nginx/html
EXPOSE 80
CMD nginx -g "daemon off;"
12 changes: 0 additions & 12 deletions docker-compose.yml

This file was deleted.

0 comments on commit 2d3a50f

Please sign in to comment.