mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-21 19:53:50 +01:00
chore: dockerfile cleanup
This commit is contained in:
parent
91893ea5c7
commit
f6589655b1
@ -17,7 +17,7 @@ RUN yarn plugin import workspace-tools
|
|||||||
|
|
||||||
# Install Dependencies
|
# Install Dependencies
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
RUN yarn build
|
RUN yarn rebuild
|
||||||
|
|
||||||
# Remove git files
|
# Remove git files
|
||||||
RUN rm -rf .git
|
RUN rm -rf .git
|
||||||
|
@ -27,7 +27,7 @@ services:
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
restart: always
|
restart: always
|
||||||
image: docker.io/postgres:12.2-alpine
|
image: docker.io/postgres:13.9-alpine
|
||||||
networks:
|
networks:
|
||||||
- network
|
- network
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -29,7 +29,7 @@ services:
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: docker.io/postgres:12.2-alpine
|
image: docker.io/postgres:13.9-alpine
|
||||||
networks:
|
networks:
|
||||||
- calcnet
|
- calcnet
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
//#region Detect language & fetch translations
|
//#region Detect language & fetch translations
|
||||||
const v = localStorage.getItem('v') || VERSION;
|
const v = localStorage.getItem('v') || VERSION;
|
||||||
|
|
||||||
const supportedLangs = LANGS;
|
const supportedLangs = LANGS;
|
||||||
let lang = localStorage.getItem('lang');
|
let lang = localStorage.getItem('lang');
|
||||||
if (lang == null || !supportedLangs.includes(lang)) {
|
if (lang == null || !supportedLangs.includes(lang)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user