Skip to content

Commit

Permalink
Separate dockerfile for x86 and ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
owenkellogg committed Jul 25, 2024
1 parent 960a2b6 commit 95a6bf9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22-alpine
FROM node:22

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
Expand Down
18 changes: 18 additions & 0 deletions Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM node:22-alpine

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

# Install app dependencies
COPY package.json /usr/src/app/

RUN npm install -g typescript
RUN npm install -g ts-node
RUN npm install

RUN npm install -g seed-phrase

# Bundle app source
COPY . /usr/src/app

ENTRYPOINT ["node", "dist/main.js"]

0 comments on commit 95a6bf9

Please sign in to comment.