Skip to content

Commit

Permalink
dockeriz
Browse files Browse the repository at this point in the history
  • Loading branch information
bazumo committed Dec 30, 2020
1 parent c0a9c01 commit 07cc235
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 11,229 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/node_modules
**/dist
**/build
**/.git
27 changes: 27 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM node:14

WORKDIR /usr/src/app

COPY package.json yarn.lock ./
COPY gl-tiled/package.json ./gl-tiled/
COPY unilog-client/package.json ./unilog-client/
COPY unilog-server/package.json ./unilog-server/
COPY unilog-shared/package.json ./unilog-shared/


RUN yarn

COPY . .

RUN yarn workspaces run build

EXPOSE 80

WORKDIR /usr/src/app/unilog-server

ENV PORT=80

CMD [ "node", "dist/index.js" ]



Loading

0 comments on commit 07cc235

Please sign in to comment.