Update version format for canary.

We are now using the traditional versioning format for canary releases, instead of using the commit hash as the version.
This commit is contained in:
Shahrad Elahi
2024-02-12 13:44:07 +03:30
parent b3b9beddf3
commit ccc3b20132
7 changed files with 26 additions and 14 deletions

View File

@@ -45,17 +45,20 @@ FROM base AS runner
ENV NODE_ENV=development
ENV LOG_LEVEL=debug
ENV VERSION=0.0.0-dev
COPY docker-entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
# Fix permissions
RUN mkdir -p /data && chmod 700 /data
RUN mkdir -p /etc/torrc.d && chmod -R 400 /etc/torrc.d
RUN mkdir -p /var/vlogs && touch /var/vlogs/web && chmod -R 600 /var/vlogs
# Volumes
VOLUME ["/etc/torrc.d", "/data", "/var/vlogs"]
# run the app
# Run the app
EXPOSE 5173/tcp
CMD [ "npm", "run", "dev", "--", "--host" ]