diff --git a/Dockerfile b/Dockerfile index 4666e46..6a30ca3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,6 +61,7 @@ ENV DISCORD_SERVER_ID="" # Copy the executable from the "build" stage. COPY --from=build /bin/server /bin/ +COPY ./assets /bin/ # Expose the port that the application listens on. EXPOSE 2020 diff --git a/compose.yaml b/compose.yaml index e426073..8867962 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,6 +5,7 @@ services: target: final ports: - 2020:2020 + restart: unless-stopped environment: - DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN} - DISCORD_SERVER_ID=${DISCORD_SERVER_ID}