Skip to content

Commit

Permalink
Updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Casca0 committed Sep 17, 2023
1 parent 47cd560 commit 23dcde6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM debian:bullseye as builder

ARG NODE_VERSION=18.16
FROM node:${NODE_VERSION}-alpine

RUN apk add --no-cache ffmpeg

FROM debian:bullseye as builder

RUN apt-get update; apt install -y curl
RUN curl https://get.volta.sh | bash
ENV VOLTA_HOME /root/.volta
Expand All @@ -16,8 +18,6 @@ WORKDIR /app

COPY package*.json ./

RUN apk add --no-cache ffmpeg

ENV NODE_ENV production

COPY . .
Expand Down

0 comments on commit 23dcde6

Please sign in to comment.