parent
59912f6ddb
commit
6f1b823dfa
|
@ -61,13 +61,10 @@ CMD ["/app/etc/entrypoints/web"]
|
||||||
# Just dev stuff
|
# Just dev stuff
|
||||||
FROM production as dev
|
FROM production as dev
|
||||||
|
|
||||||
COPY --chown=website .nvmrc ./
|
|
||||||
RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash \
|
|
||||||
&& bash --login -c "nvm install --no-progress && nvm alias default $(nvm run --silent --version)"
|
|
||||||
|
|
||||||
# Swap user, so the following tasks can be run as root
|
# Swap user, so the following tasks can be run as root
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
|
||||||
RUN apt-get update --yes --quiet && apt-get install -y postgresql-client inotify-tools
|
RUN apt-get update --yes --quiet && apt-get install -y postgresql-client inotify-tools
|
||||||
RUN curl -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
|
RUN curl -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue