mirror of
https://github.com/mainsail-crew/mainsail-docker.git
synced 2026-05-07 22:16:01 +02:00
FIX: docker dev access
This commit is contained in:
@@ -21,7 +21,7 @@ RUN /bin/bash -c "source /tmp/install-moonraker2.sh && install_packages"
|
||||
|
||||
USER root
|
||||
|
||||
RUN usermod -aG dialout mainsail
|
||||
RUN usermod -aG dialout,tty mainsail
|
||||
|
||||
RUN apt-get -y autoremove \
|
||||
&& apt-get clean \
|
||||
|
||||
@@ -21,6 +21,9 @@ services:
|
||||
- api
|
||||
api:
|
||||
container_name: 'mainsail-stack-api'
|
||||
privileged: true
|
||||
tty: true
|
||||
stdin_open: true
|
||||
build:
|
||||
context: api
|
||||
dockerfile: Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user