mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-25 18:28:07 +02:00
Update Dockerfile
Signed-off-by: techopsmasters <163403479+techopsmasters@users.noreply.github.com>
This commit is contained in:
parent
ce34eac5e3
commit
784024e574
1 changed files with 4 additions and 8 deletions
|
@ -15,16 +15,12 @@ ENV PORT=3000
|
|||
CMD [ "npm", "start" ]
|
||||
|
||||
FROM development AS dev-envs
|
||||
RUN <<EOF
|
||||
apt-get update
|
||||
apt-get install -y git
|
||||
EOF
|
||||
RUN apt update && \
|
||||
apt install -y git
|
||||
|
||||
RUN <<EOF
|
||||
useradd -s /bin/bash -m vscode
|
||||
groupadd docker
|
||||
RUN useradd -s /bin/bash -m vscode && \
|
||||
groupadd docker && \
|
||||
usermod -aG docker vscode
|
||||
EOF
|
||||
# install Docker tools (cli, buildx, compose)
|
||||
COPY --from=gloursdocker/docker / /
|
||||
CMD [ "npm", "start" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue