Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinaNikolaevaa committed Sep 18, 2024
1 parent df5393f commit 8607eba
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM ubuntu:20.04

RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt -y install \
software-properties-common git npm curl && \
npm install -g yarn waffle && \
rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y curl software-properties-common git npm
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs
RUN npm install -g yarn waffle
RUN rm -rf /var/lib/apt/lists/*

COPY . /opt
WORKDIR /opt

RUN yarn && yarn compile

0 comments on commit 8607eba

Please sign in to comment.