Skip to content

Commit

Permalink
Merge pull request #94 from blocto/feat/support-docker
Browse files Browse the repository at this point in the history
feat: add dockerfile
  • Loading branch information
sanyu1225 authored Feb 20, 2024
2 parents c1c1d8b + 92343af commit b844ded
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM node:16-alpine

WORKDIR /app

COPY package*.json yarn.lock ./
RUN apk add --no-cache yarn

RUN apk add --no-cache python3
ENV PYTHON=/usr/bin/python3

RUN apk add --no-cache make g++

RUN yarn install
COPY . ./

EXPOSE 3001

CMD ["yarn", "start"]

0 comments on commit b844ded

Please sign in to comment.