anchor.diff:  # copy game files
   COPY --chown=terraria:terraria --from=base /tshock/* /tshock
   
  -# Allow for external data
  -VOLUME ["/world", "/tshock/logs", "/plugins"]
  +# set the user
  +USER terraria
   
   # Set working directory to server
   WORKDIR /tshock
   
  -USER terraria
  -
   # run the bootstrap, which will copy the TShockAPI.dll before starting the server
   ENTRYPOINT [ "/bin/sh", "bootstrap.sh" ]
  
positive.code: RUN apk add --update-cache \
      unzip
  
  # Download and install TShock
  ADD https://github.com/Pryaxis/TShock/releases/download/v4.4.0-pre4/TShock_4.4.0_226_Pre4v2_Terraria1.4.0.2.zip /
  RUN unzip TShock_4.4.0_226_Pre4v2_Terraria1.4.0.2.zip -d /tshock && \
      rm TShock_4.4.0_226_Pre4v2_Terraria1.4.0.2.zip && \
      chmod +x /tshock/tshock/TerrariaServer.exe
  
  # Add bootstrap.sh and make sure it's executable.
  # This will be pulled into the final stage.
  ADD bootstrap.sh .
  RUN chmod +x bootstrap.sh
  
  FROM mono:6.8.0.96-slim
  
  
negative.code: # documenting ports
  EXPOSE 7777 7878
  
  # env used in the bootstrap
  ENV WORLDPATH=/world
  ENV CONFIGPATH=/world
  ENV LOGPATH=/tshock/logs
  
  # Allow for external data
  VOLUME ["/world", "/tshock/logs", "/plugins"]
  
  # add terraria user to run as
  RUN groupadd -r terraria && \
  