mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-25 13:13:28 +00:00
Lighten frontend dev docker image
This commit is contained in:
@ -1,5 +1,4 @@
|
|||||||
FROM ubuntu:20.04
|
FROM node:18-bullseye-slim
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/frontend
|
RUN mkdir -p /usr/src/frontend
|
||||||
|
|
||||||
@ -7,10 +6,8 @@ RUN mkdir -p /usr/src/frontend
|
|||||||
WORKDIR /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 current dir's content to container's WORKDIR root i.e. all the contents of the robosats app
|
||||||
COPY . .
|
COPY package.json package.json
|
||||||
|
COPY package-lock.json package-lock.json
|
||||||
RUN apt-get update
|
|
||||||
RUN apt-get -y install npm
|
|
||||||
|
|
||||||
# packages we use
|
# packages we use
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user