l. p25.10 update cloud
This commit is contained in:
parent
cf225129a5
commit
f486ad61fc
19
Dockerfile
19
Dockerfile
|
@ -33,7 +33,24 @@ RUN useradd -m -s /bin/bash user && \
|
|||
usermod -aG sudo user
|
||||
|
||||
# Opcjonalnie: Ustawienie domyślnego użytkownika
|
||||
# USER user
|
||||
USER user
|
||||
|
||||
# Install Vim-Plug for Vim plugin management
|
||||
RUN curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
|
||||
|
||||
# Copy the project into the image
|
||||
#COPY --chown=user:user . /home/user/fapi
|
||||
#COPY --chown=user:user ./_confs/* ./
|
||||
COPY ./_confs/* ./
|
||||
|
||||
# Install Vim plugins via Vim-Plug
|
||||
RUN vim +'PlugInstall --sync' +qall
|
||||
|
||||
|
||||
# Set the working directory for installing dependencies
|
||||
WORKDIR /home/user/work
|
||||
|
||||
# Ustawienie domyślnego polecenia
|
||||
CMD ["/bin/bash"]
|
||||
|
|
4
__vp
4
__vp
|
@ -1,7 +1,7 @@
|
|||
f() {
|
||||
sudo docker run --rm -dit --privileged \
|
||||
-v "$(pwd)/app:/home/user/work" \
|
||||
-p 3333:3333 \
|
||||
-v "$(pwd)/../app:/home/user/work" \
|
||||
-p 4321:4321\
|
||||
--name "$1" deb su - user;
|
||||
};
|
||||
f $1
|
||||
|
|
1
app
1
app
|
@ -1 +0,0 @@
|
|||
Subproject commit db0752d3e05f90f7fd8dda802b2366f3c6942b87
|
Loading…
Reference in New Issue