You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
672 B
25 lines
672 B
# Docker image for local development environment.
|
|
# You should NOT publish this image, it is intended for local use only.
|
|
|
|
FROM almalinux/almalinux:8
|
|
|
|
ARG LOCAL_UID
|
|
ARG LOCAL_GID
|
|
|
|
RUN groupadd -g ${LOCAL_GID} web && \
|
|
useradd -ms /bin/bash web -g ${LOCAL_GID} -u ${LOCAL_UID}
|
|
|
|
RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
|
dnf -y install yum-utils && \
|
|
curl -fsSL https://rpm.nodesource.com/setup_15.x | bash - && \
|
|
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo
|
|
|
|
RUN dnf -y install \
|
|
make \
|
|
gcc-c++ \
|
|
nodejs \
|
|
yarn
|
|
|
|
WORKDIR /app
|
|
|
|
CMD make frontend-runserver
|
|
|