anchor.diff:      apt-get install -y nuget && \
       rm -rf /var/lib/apt/lists/* /tmp/* && \
       # create directories
  -    mkdir /tshock && \
  -    mkdir /world && \
  -    mkdir /plugins && \
       mkdir -p /tshock/logs && \
       chown -R terraria:terraria /tshock /world /plugins
   
  
positive.code: # documenting ports
  EXPOSE 7777 7878
  
  ENV WORLDPATH=/world
  ENV CONFIGPATH=/world
  ENV LOGPATH=/tshock/logs
  
  # add terraria user to run as
  RUN groupadd -r terraria && \
  
negative.code: # copy game files
  COPY --chown=terraria:terraria --from=base /tshock/* /tshock
  
  # set the user
  USER terraria
  
  # Set working directory to server
  WORKDIR /tshock
  
  # run the bootstrap, which will copy the TShockAPI.dll before starting the server
  ENTRYPOINT [ "/bin/sh", "bootstrap.sh" ]
  