23 lines
564 B
Docker
23 lines
564 B
Docker
FROM ubuntu:latest
|
|
|
|
# Install Xvfb, Wine, and Guacamole
|
|
RUN apt-get update && apt-get install -y xvfb wine-stable guacamole
|
|
|
|
# Install the Windows application
|
|
COPY MusicBeePortable_3_5.exe /app/MusicBee.exe
|
|
|
|
# Configure Xvfb and Wine
|
|
ENV DISPLAY=:99
|
|
RUN Xvfb :99 -screen 0 1024x768x24 &
|
|
|
|
# Configure Guacamole
|
|
ENV GUACAMOLE_HOME=/etc/guacamole
|
|
RUN mkdir -p $GUACAMOLE_HOME
|
|
COPY guacamole.properties $GUACAMOLE_HOME/guacamole.properties
|
|
|
|
# Expose the Guacamole port
|
|
EXPOSE 8080
|
|
|
|
# Run the Windows application at container startup
|
|
CMD ["wine", "/app/MusicBee.exe"]
|
|
|