mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Lighten frontend dev docker image
This commit is contained in:
parent
6013757e24
commit
45fd82430e
@ -1,5 +1,4 @@
|
||||
FROM ubuntu:20.04
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
FROM node:18-bullseye-slim
|
||||
|
||||
RUN mkdir -p /usr/src/frontend
|
||||
|
||||
@ -7,14 +6,12 @@ RUN mkdir -p /usr/src/frontend
|
||||
WORKDIR /usr/src/frontend
|
||||
|
||||
# copy current dir's content to container's WORKDIR root i.e. all the contents of the robosats app
|
||||
COPY . .
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get -y install npm
|
||||
COPY package.json package.json
|
||||
COPY package-lock.json package-lock.json
|
||||
|
||||
# packages we use
|
||||
|
||||
RUN npm install
|
||||
RUN npm install
|
||||
|
||||
# launch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user